@glodon-aiot/agent-cli-ui 3.1.0-beta.15 → 3.2.1
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 -0
- 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/lib/index.css +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as t } from "../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
+
import { _ as o } from "./_baseMerge.mjs";
|
|
3
|
+
import { _ as s } from "./_createAssigner.mjs";
|
|
4
|
+
var m = o, g = s, f = g(function(e, r, a) {
|
|
5
|
+
m(e, r, a);
|
|
6
|
+
}), i = f;
|
|
7
|
+
const c = /* @__PURE__ */ t(i);
|
|
8
|
+
export {
|
|
9
|
+
c as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as o } from "./_baseTrim.mjs";
|
|
2
|
+
import { i as n } from "./isObject.mjs";
|
|
3
|
+
import { i as m } from "./isSymbol.mjs";
|
|
4
|
+
var b = o, s = n, e = m, f = 0 / 0, p = /^[-+]0x[0-9a-f]+$/i, y = /^0b[01]+$/i, a = /^0o[0-7]+$/i, c = parseInt;
|
|
5
|
+
function I(r) {
|
|
6
|
+
if (typeof r == "number")
|
|
7
|
+
return r;
|
|
8
|
+
if (e(r))
|
|
9
|
+
return f;
|
|
10
|
+
if (s(r)) {
|
|
11
|
+
var t = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
12
|
+
r = s(t) ? t + "" : t;
|
|
13
|
+
}
|
|
14
|
+
if (typeof r != "string")
|
|
15
|
+
return r === 0 ? r : +r;
|
|
16
|
+
r = b(r);
|
|
17
|
+
var i = y.test(r);
|
|
18
|
+
return i || a.test(r) ? c(r.slice(2), i ? 2 : 8) : p.test(r) ? f : +r;
|
|
19
|
+
}
|
|
20
|
+
var x = I;
|
|
21
|
+
export {
|
|
22
|
+
x as t
|
|
23
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function f(l, t) {
|
|
2
|
+
const i = String(l);
|
|
3
|
+
let e = i.indexOf(t), n = e, o = 0, r = 0;
|
|
4
|
+
if (typeof t != "string")
|
|
5
|
+
throw new TypeError("Expected substring");
|
|
6
|
+
for (; e !== -1; )
|
|
7
|
+
e === n ? ++o > r && (r = o) : o = 1, n = e + t.length, e = i.indexOf(t, n);
|
|
8
|
+
return r;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
f as longestStreak
|
|
12
|
+
};
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
var $ = Object.defineProperty;
|
|
2
|
+
var w = Object.getOwnPropertySymbols;
|
|
3
|
+
var g = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var F = (r, a, i) => a in r ? $(r, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[a] = i, M = (r, a) => {
|
|
5
|
+
for (var i in a || (a = {}))
|
|
6
|
+
g.call(a, i) && F(r, i, a[i]);
|
|
7
|
+
if (w)
|
|
8
|
+
for (var i of w(a))
|
|
9
|
+
k.call(a, i) && F(r, i, a[i]);
|
|
10
|
+
return r;
|
|
11
|
+
};
|
|
12
|
+
import { ok as u } from "../../devlop/lib/default.mjs";
|
|
13
|
+
import { longestStreak as v } from "../../longest-streak/index.mjs";
|
|
14
|
+
function N() {
|
|
15
|
+
return {
|
|
16
|
+
enter: {
|
|
17
|
+
mathFlow: r,
|
|
18
|
+
mathFlowFenceMeta: a,
|
|
19
|
+
mathText: s
|
|
20
|
+
},
|
|
21
|
+
exit: {
|
|
22
|
+
mathFlow: p,
|
|
23
|
+
mathFlowFence: m,
|
|
24
|
+
mathFlowFenceMeta: i,
|
|
25
|
+
mathFlowValue: h,
|
|
26
|
+
mathText: x,
|
|
27
|
+
mathTextData: h
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
function r(t) {
|
|
31
|
+
const e = {
|
|
32
|
+
type: "element",
|
|
33
|
+
tagName: "code",
|
|
34
|
+
properties: {
|
|
35
|
+
className: ["language-math", "math-display"]
|
|
36
|
+
},
|
|
37
|
+
children: []
|
|
38
|
+
};
|
|
39
|
+
this.enter({
|
|
40
|
+
type: "math",
|
|
41
|
+
meta: null,
|
|
42
|
+
value: "",
|
|
43
|
+
data: {
|
|
44
|
+
hName: "pre",
|
|
45
|
+
hChildren: [e]
|
|
46
|
+
}
|
|
47
|
+
}, t);
|
|
48
|
+
}
|
|
49
|
+
function a() {
|
|
50
|
+
this.buffer();
|
|
51
|
+
}
|
|
52
|
+
function i() {
|
|
53
|
+
const t = this.resume(), e = this.stack[this.stack.length - 1];
|
|
54
|
+
u(e.type === "math"), e.meta = t;
|
|
55
|
+
}
|
|
56
|
+
function m() {
|
|
57
|
+
this.data.mathFlowInside || (this.buffer(), this.data.mathFlowInside = !0);
|
|
58
|
+
}
|
|
59
|
+
function p(t) {
|
|
60
|
+
const e = this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), n = this.stack[this.stack.length - 1];
|
|
61
|
+
u(n.type === "math"), this.exit(t), n.value = e;
|
|
62
|
+
const o = (
|
|
63
|
+
/** @type {HastElement} */
|
|
64
|
+
n.data.hChildren[0]
|
|
65
|
+
);
|
|
66
|
+
u(o.type === "element"), u(o.tagName === "code"), o.children.push({
|
|
67
|
+
type: "text",
|
|
68
|
+
value: e
|
|
69
|
+
}), this.data.mathFlowInside = void 0;
|
|
70
|
+
}
|
|
71
|
+
function s(t) {
|
|
72
|
+
this.enter({
|
|
73
|
+
type: "inlineMath",
|
|
74
|
+
value: "",
|
|
75
|
+
data: {
|
|
76
|
+
hName: "code",
|
|
77
|
+
hProperties: {
|
|
78
|
+
className: ["language-math", "math-inline"]
|
|
79
|
+
},
|
|
80
|
+
hChildren: []
|
|
81
|
+
}
|
|
82
|
+
}, t), this.buffer();
|
|
83
|
+
}
|
|
84
|
+
function x(t) {
|
|
85
|
+
const e = this.resume(), n = this.stack[this.stack.length - 1];
|
|
86
|
+
u(n.type === "inlineMath"), this.exit(t), n.value = e, /** @type {Array<HastElementContent>} */
|
|
87
|
+
// @ts-expect-error: we defined it in `enterMathFlow`.
|
|
88
|
+
n.data.hChildren.push({
|
|
89
|
+
type: "text",
|
|
90
|
+
value: e
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function h(t) {
|
|
94
|
+
this.config.enter.data.call(this, t), this.config.exit.data.call(this, t);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function b(r) {
|
|
98
|
+
let a = (r || {}).singleDollarTextMath;
|
|
99
|
+
return a == null && (a = !0), m.peek = p, {
|
|
100
|
+
unsafe: [{
|
|
101
|
+
character: "\r",
|
|
102
|
+
inConstruct: "mathFlowMeta"
|
|
103
|
+
}, {
|
|
104
|
+
character: `
|
|
105
|
+
`,
|
|
106
|
+
inConstruct: "mathFlowMeta"
|
|
107
|
+
}, {
|
|
108
|
+
character: "$",
|
|
109
|
+
after: a ? void 0 : "\\$",
|
|
110
|
+
inConstruct: "phrasing"
|
|
111
|
+
}, {
|
|
112
|
+
character: "$",
|
|
113
|
+
inConstruct: "mathFlowMeta"
|
|
114
|
+
}, {
|
|
115
|
+
atBreak: !0,
|
|
116
|
+
character: "$",
|
|
117
|
+
after: "\\$"
|
|
118
|
+
}],
|
|
119
|
+
handlers: {
|
|
120
|
+
math: i,
|
|
121
|
+
inlineMath: m
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
function i(s, x, h, t) {
|
|
125
|
+
const e = s.value || "", n = h.createTracker(t), o = "$".repeat(Math.max(v(e, "$") + 1, 2)), d = h.enter("mathFlow");
|
|
126
|
+
let c = n.move(o);
|
|
127
|
+
if (s.meta) {
|
|
128
|
+
const l = h.enter("mathFlowMeta");
|
|
129
|
+
c += n.move(h.safe(s.meta, M({
|
|
130
|
+
after: `
|
|
131
|
+
`,
|
|
132
|
+
before: c,
|
|
133
|
+
encode: ["$"]
|
|
134
|
+
}, n.current()))), l();
|
|
135
|
+
}
|
|
136
|
+
return c += n.move(`
|
|
137
|
+
`), e && (c += n.move(e + `
|
|
138
|
+
`)), c += n.move(o), d(), c;
|
|
139
|
+
}
|
|
140
|
+
function m(s, x, h) {
|
|
141
|
+
let t = s.value || "", e = 1;
|
|
142
|
+
for (a || e++; new RegExp("(^|[^$])" + "\\$".repeat(e) + "([^$]|$)").test(t); )
|
|
143
|
+
e++;
|
|
144
|
+
const n = "$".repeat(e);
|
|
145
|
+
// Contains non-space.
|
|
146
|
+
/[^ \r\n]/.test(t) && // Starts with space and ends with space.
|
|
147
|
+
(/^[ \r\n]/.test(t) && /[ \r\n]$/.test(t) || // Starts or ends with dollar.
|
|
148
|
+
/^\$|\$$/.test(t)) && (t = " " + t + " ");
|
|
149
|
+
let o = -1;
|
|
150
|
+
for (; ++o < h.unsafe.length; ) {
|
|
151
|
+
const d = h.unsafe[o];
|
|
152
|
+
if (!d.atBreak)
|
|
153
|
+
continue;
|
|
154
|
+
const c = h.compilePattern(d);
|
|
155
|
+
let l;
|
|
156
|
+
for (; l = c.exec(t); ) {
|
|
157
|
+
let f = l.index;
|
|
158
|
+
t.codePointAt(f) === 10 && t.codePointAt(f - 1) === 13 && f--, t = t.slice(0, f) + " " + t.slice(l.index + 1);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return n + t + n;
|
|
162
|
+
}
|
|
163
|
+
function p() {
|
|
164
|
+
return "$";
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
export {
|
|
168
|
+
N as mathFromMarkdown,
|
|
169
|
+
b as mathToMarkdown
|
|
170
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { factorySpace as h } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownLineEnding as a } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
const A = {
|
|
4
|
+
tokenize: v,
|
|
5
|
+
concrete: !0,
|
|
6
|
+
name: "mathFlow"
|
|
7
|
+
}, q = {
|
|
8
|
+
tokenize: N,
|
|
9
|
+
partial: !0
|
|
10
|
+
};
|
|
11
|
+
function v(t, l, o) {
|
|
12
|
+
const i = this, u = i.events[i.events.length - 1], m = u && u[1].type === "linePrefix" ? u[2].sliceSerialize(u[1], !0).length : 0;
|
|
13
|
+
let r = 0;
|
|
14
|
+
return k;
|
|
15
|
+
function k(n) {
|
|
16
|
+
return t.enter("mathFlow"), t.enter("mathFlowFence"), t.enter("mathFlowFenceSequence"), p(n);
|
|
17
|
+
}
|
|
18
|
+
function p(n) {
|
|
19
|
+
return n === 36 ? (t.consume(n), r++, p) : r < 2 ? o(n) : (t.exit("mathFlowFenceSequence"), h(t, y, "whitespace")(n));
|
|
20
|
+
}
|
|
21
|
+
function y(n) {
|
|
22
|
+
return n === null || a(n) ? x(n) : (t.enter("mathFlowFenceMeta"), t.enter("chunkString", {
|
|
23
|
+
contentType: "string"
|
|
24
|
+
}), z(n));
|
|
25
|
+
}
|
|
26
|
+
function z(n) {
|
|
27
|
+
return n === null || a(n) ? (t.exit("chunkString"), t.exit("mathFlowFenceMeta"), x(n)) : n === 36 ? o(n) : (t.consume(n), z);
|
|
28
|
+
}
|
|
29
|
+
function x(n) {
|
|
30
|
+
return t.exit("mathFlowFence"), i.interrupt ? l(n) : t.attempt(q, S, F)(n);
|
|
31
|
+
}
|
|
32
|
+
function S(n) {
|
|
33
|
+
return t.attempt({
|
|
34
|
+
tokenize: L,
|
|
35
|
+
partial: !0
|
|
36
|
+
}, F, b)(n);
|
|
37
|
+
}
|
|
38
|
+
function b(n) {
|
|
39
|
+
return (m ? h(t, w, "linePrefix", m + 1) : w)(n);
|
|
40
|
+
}
|
|
41
|
+
function w(n) {
|
|
42
|
+
return n === null ? F(n) : a(n) ? t.attempt(q, S, F)(n) : (t.enter("mathFlowValue"), c(n));
|
|
43
|
+
}
|
|
44
|
+
function c(n) {
|
|
45
|
+
return n === null || a(n) ? (t.exit("mathFlowValue"), w(n)) : (t.consume(n), c);
|
|
46
|
+
}
|
|
47
|
+
function F(n) {
|
|
48
|
+
return t.exit("mathFlow"), l(n);
|
|
49
|
+
}
|
|
50
|
+
function L(n, E, s) {
|
|
51
|
+
let C = 0;
|
|
52
|
+
return h(n, M, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
53
|
+
function M(e) {
|
|
54
|
+
return n.enter("mathFlowFence"), n.enter("mathFlowFenceSequence"), g(e);
|
|
55
|
+
}
|
|
56
|
+
function g(e) {
|
|
57
|
+
return e === 36 ? (C++, n.consume(e), g) : C < r ? s(e) : (n.exit("mathFlowFenceSequence"), h(n, P, "whitespace")(e));
|
|
58
|
+
}
|
|
59
|
+
function P(e) {
|
|
60
|
+
return e === null || a(e) ? (n.exit("mathFlowFence"), E(e)) : s(e);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function N(t, l, o) {
|
|
65
|
+
const i = this;
|
|
66
|
+
return u;
|
|
67
|
+
function u(r) {
|
|
68
|
+
return r === null ? l(r) : (t.enter("lineEnding"), t.consume(r), t.exit("lineEnding"), m);
|
|
69
|
+
}
|
|
70
|
+
function m(r) {
|
|
71
|
+
return i.parser.lazy[i.now().line] ? o(r) : l(r);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
A as mathFlow
|
|
76
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { markdownLineEnding as y } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
function k(e) {
|
|
3
|
+
let a = (e || {}).singleDollarTextMath;
|
|
4
|
+
return a == null && (a = !0), {
|
|
5
|
+
tokenize: i,
|
|
6
|
+
resolve: d,
|
|
7
|
+
previous: q,
|
|
8
|
+
name: "mathText"
|
|
9
|
+
};
|
|
10
|
+
function i(n, o, p) {
|
|
11
|
+
let l = 0, x, m;
|
|
12
|
+
return E;
|
|
13
|
+
function E(t) {
|
|
14
|
+
return n.enter("mathText"), n.enter("mathTextSequence"), T(t);
|
|
15
|
+
}
|
|
16
|
+
function T(t) {
|
|
17
|
+
return t === 36 ? (n.consume(t), l++, T) : l < 2 && !a ? p(t) : (n.exit("mathTextSequence"), u(t));
|
|
18
|
+
}
|
|
19
|
+
function u(t) {
|
|
20
|
+
return t === null ? p(t) : t === 36 ? (m = n.enter("mathTextSequence"), x = 0, g(t)) : t === 32 ? (n.enter("space"), n.consume(t), n.exit("space"), u) : y(t) ? (n.enter("lineEnding"), n.consume(t), n.exit("lineEnding"), u) : (n.enter("mathTextData"), h(t));
|
|
21
|
+
}
|
|
22
|
+
function h(t) {
|
|
23
|
+
return t === null || t === 32 || t === 36 || y(t) ? (n.exit("mathTextData"), u(t)) : (n.consume(t), h);
|
|
24
|
+
}
|
|
25
|
+
function g(t) {
|
|
26
|
+
return t === 36 ? (n.consume(t), x++, g) : x === l ? (n.exit("mathTextSequence"), n.exit("mathText"), o(t)) : (m.type = "mathTextData", h(t));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function d(e) {
|
|
31
|
+
let r = e.length - 4, a = 3, i, n;
|
|
32
|
+
if ((e[a][1].type === "lineEnding" || e[a][1].type === "space") && (e[r][1].type === "lineEnding" || e[r][1].type === "space")) {
|
|
33
|
+
for (i = a; ++i < r; )
|
|
34
|
+
if (e[i][1].type === "mathTextData") {
|
|
35
|
+
e[r][1].type = "mathTextPadding", e[a][1].type = "mathTextPadding", a += 2, r -= 2;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
for (i = a - 1, r++; ++i <= r; )
|
|
40
|
+
n === void 0 ? i !== r && e[i][1].type !== "lineEnding" && (n = i) : (i === r || e[i][1].type === "lineEnding") && (e[n][1].type = "mathTextData", i !== n + 2 && (e[n][1].end = e[i - 1][1].end, e.splice(n + 2, i - n - 2), r -= i - n - 2, i = n + 2), n = void 0);
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
function q(e) {
|
|
44
|
+
return e !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
45
|
+
}
|
|
46
|
+
export {
|
|
47
|
+
k as mathText
|
|
48
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { markdownSpace as m } from "../micromark-util-character/index.mjs";
|
|
2
|
+
function p(n, t, i, u) {
|
|
3
|
+
const o = u ? u - 1 : Number.POSITIVE_INFINITY;
|
|
4
|
+
let I = 0;
|
|
5
|
+
return a;
|
|
6
|
+
function a(r) {
|
|
7
|
+
return m(r) ? (n.enter(i), e(r)) : t(r);
|
|
8
|
+
}
|
|
9
|
+
function e(r) {
|
|
10
|
+
return m(r) && I++ < o ? (n.consume(r), e) : (n.exit(i), t(r));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
p as factorySpace
|
|
15
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
var s = Object.getOwnPropertySymbols, u = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
function b(n) {
|
|
8
|
+
if (n == null)
|
|
9
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
10
|
+
return Object(n);
|
|
11
|
+
}
|
|
12
|
+
function i() {
|
|
13
|
+
try {
|
|
14
|
+
if (!Object.assign)
|
|
15
|
+
return !1;
|
|
16
|
+
var n = new String("abc");
|
|
17
|
+
if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
|
|
18
|
+
return !1;
|
|
19
|
+
for (var c = {}, r = 0; r < 10; r++)
|
|
20
|
+
c["_" + String.fromCharCode(r)] = r;
|
|
21
|
+
var a = Object.getOwnPropertyNames(c).map(function(e) {
|
|
22
|
+
return c[e];
|
|
23
|
+
});
|
|
24
|
+
if (a.join("") !== "0123456789")
|
|
25
|
+
return !1;
|
|
26
|
+
var t = {};
|
|
27
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
28
|
+
t[e] = e;
|
|
29
|
+
}), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
|
|
30
|
+
} catch (e) {
|
|
31
|
+
return !1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
i();
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
// Options.jsx
|
|
3
|
+
items_per_page: "条/页",
|
|
4
|
+
jump_to: "跳至",
|
|
5
|
+
jump_to_confirm: "确定",
|
|
6
|
+
page: "页",
|
|
7
|
+
// Pagination.jsx
|
|
8
|
+
prev_page: "上一页",
|
|
9
|
+
next_page: "下一页",
|
|
10
|
+
prev_5: "向前 5 页",
|
|
11
|
+
next_5: "向后 5 页",
|
|
12
|
+
prev_3: "向前 3 页",
|
|
13
|
+
next_3: "向后 3 页",
|
|
14
|
+
page_size: "页码"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
e as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var e = {
|
|
2
|
+
locale: "zh_CN",
|
|
3
|
+
today: "今天",
|
|
4
|
+
now: "此刻",
|
|
5
|
+
backToToday: "返回今天",
|
|
6
|
+
ok: "确定",
|
|
7
|
+
timeSelect: "选择时间",
|
|
8
|
+
dateSelect: "选择日期",
|
|
9
|
+
weekSelect: "选择周",
|
|
10
|
+
clear: "清除",
|
|
11
|
+
month: "月",
|
|
12
|
+
year: "年",
|
|
13
|
+
previousMonth: "上个月 (翻页上键)",
|
|
14
|
+
nextMonth: "下个月 (翻页下键)",
|
|
15
|
+
monthSelect: "选择月份",
|
|
16
|
+
yearSelect: "选择年份",
|
|
17
|
+
decadeSelect: "选择年代",
|
|
18
|
+
yearFormat: "YYYY年",
|
|
19
|
+
dayFormat: "D日",
|
|
20
|
+
dateFormat: "YYYY年M月D日",
|
|
21
|
+
dateTimeFormat: "YYYY年M月D日 HH时mm分ss秒",
|
|
22
|
+
previousYear: "上一年 (Control键加左方向键)",
|
|
23
|
+
nextYear: "下一年 (Control键加右方向键)",
|
|
24
|
+
previousDecade: "上一年代",
|
|
25
|
+
nextDecade: "下一年代",
|
|
26
|
+
previousCentury: "上一世纪",
|
|
27
|
+
nextCentury: "下一世纪"
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
e as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as f } from "../../../_virtual/react-jsx-runtime.production.min.mjs";
|
|
2
|
+
import "../../object-assign/index.mjs";
|
|
3
|
+
import s from "react";
|
|
4
|
+
/** @license React v17.0.2
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var u = s, l = 60103;
|
|
13
|
+
f.Fragment = 60107;
|
|
14
|
+
if (typeof Symbol == "function" && Symbol.for) {
|
|
15
|
+
var i = Symbol.for;
|
|
16
|
+
l = i("react.element"), f.Fragment = i("react.fragment");
|
|
17
|
+
}
|
|
18
|
+
var y = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = Object.prototype.hasOwnProperty, d = {
|
|
19
|
+
key: !0,
|
|
20
|
+
ref: !0,
|
|
21
|
+
__self: !0,
|
|
22
|
+
__source: !0
|
|
23
|
+
};
|
|
24
|
+
function m(o, r, _) {
|
|
25
|
+
var e, t = {}, n = null, p = null;
|
|
26
|
+
_ !== void 0 && (n = "" + _), r.key !== void 0 && (n = "" + r.key), r.ref !== void 0 && (p = r.ref);
|
|
27
|
+
for (e in r)
|
|
28
|
+
a.call(r, e) && !d.hasOwnProperty(e) && (t[e] = r[e]);
|
|
29
|
+
if (o && o.defaultProps)
|
|
30
|
+
for (e in r = o.defaultProps, r)
|
|
31
|
+
t[e] === void 0 && (t[e] = r[e]);
|
|
32
|
+
return {
|
|
33
|
+
$$typeof: l,
|
|
34
|
+
type: o,
|
|
35
|
+
key: n,
|
|
36
|
+
ref: p,
|
|
37
|
+
props: t,
|
|
38
|
+
_owner: y.current
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
f.jsx = m;
|
|
42
|
+
f.jsxs = m;
|
|
43
|
+
export {
|
|
44
|
+
f as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __module as o } from "../../_virtual/jsx-runtime2.mjs";
|
|
2
|
+
import "./cjs/react-jsx-runtime.production.min.mjs";
|
|
3
|
+
import { __exports as r } from "../../_virtual/react-jsx-runtime.production.min.mjs";
|
|
4
|
+
o.exports = r;
|
|
5
|
+
var e = o.exports;
|
|
6
|
+
export {
|
|
7
|
+
e as j
|
|
8
|
+
};
|