@glodon-aiot/agent-cli-ui 3.2.2-beta.3 → 3.2.2-beta.4

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.
Files changed (402) hide show
  1. package/dist/es/AgentClientUI.mjs +3 -4
  2. package/dist/es/Dialog/AgentChat/index.mjs +141 -141
  3. package/dist/es/Dialog/ConnectToNetwork/index.mjs +2 -3
  4. package/dist/es/Dialog/FileCard/index.mjs +2 -3
  5. package/dist/es/Dialog/FilePreview/index.mjs +2 -3
  6. package/dist/es/Dialog/Greeting/index.mjs +2 -3
  7. package/dist/es/Dialog/HistoryContent/index.mjs +2 -3
  8. package/dist/es/Dialog/HistoryItem/index.mjs +29 -30
  9. package/dist/es/Dialog/KnowledgeDoc/index.mjs +2 -3
  10. package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/index.mjs +2 -3
  11. package/dist/es/Dialog/KnowledgeList/index.mjs +21 -22
  12. package/dist/es/Dialog/PromptManager/PromptList/PromptListItem.mjs +1 -1
  13. package/dist/es/Dialog/PromptManager/PromptList/PublicPromptList.mjs +2 -3
  14. package/dist/es/Dialog/PromptManager/index.mjs +2 -3
  15. package/dist/es/Dialog/PromptSetting/index.mjs +2 -3
  16. package/dist/es/Dialog/Recommend/RecommendItem.mjs +3 -4
  17. package/dist/es/Dialog/Recommend/index.mjs +2 -3
  18. package/dist/es/Dialog/ReferCollapse/index.mjs +2 -3
  19. package/dist/es/Dialog/SearchReference/index.mjs +92 -55
  20. package/dist/es/Dialog/SessionAction/index.mjs +4 -5
  21. package/dist/es/Dialog/SessionList/index.mjs +3 -4
  22. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +2 -3
  23. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/SessionItem.mjs +2 -3
  24. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/index.mjs +2 -3
  25. package/dist/es/Dialog/SessionListDrawer/index.mjs +2 -3
  26. package/dist/es/Dialog/SessionRefer/ReferItem/index.mjs +2 -3
  27. package/dist/es/Dialog/SessionRefer/index.mjs +2 -3
  28. package/dist/es/Dialog/SessionRelated/index.mjs +2 -3
  29. package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/index.mjs +2 -3
  30. package/dist/es/Dialog/UploadKnowledgeFiles/index.mjs +2 -3
  31. package/dist/es/Dialog/UploadingPrompt/index.mjs +2 -3
  32. package/dist/es/Dialog/index.mjs +57 -58
  33. package/dist/es/FileItem/index.mjs +2 -3
  34. package/dist/es/Footer/FooterWarning.mjs +2 -3
  35. package/dist/es/Footer/index.mjs +2 -3
  36. package/dist/es/Iconfont/index.mjs +2 -2
  37. package/dist/es/InputProgress/index.mjs +2 -3
  38. package/dist/es/QuillEditor/index.mjs +4 -5
  39. package/dist/es/components/Copy/index.mjs +2 -3
  40. package/dist/es/components/JsonDisplay/index.mjs +2 -3
  41. package/dist/es/components/Markdown/ATag/index.mjs +1 -1
  42. package/dist/es/components/Markdown/Code/index.mjs +1 -1
  43. package/dist/es/components/Markdown/Image/index.mjs +20 -21
  44. package/dist/es/components/Markdown/Video/index.mjs +1 -1
  45. package/dist/es/components/Markdown/index.mjs +16 -17
  46. package/dist/es/components/WebLink/index.mjs +1 -1
  47. package/dist/es/constant.mjs +8 -2
  48. package/dist/es/index.mjs +60 -65
  49. package/dist/es/src/style.css +1 -0
  50. package/dist/es/src/style10.css +1 -0
  51. package/dist/es/src/style11.css +1 -0
  52. package/dist/es/src/style12.css +1 -0
  53. package/dist/es/src/style13.css +1 -0
  54. package/dist/es/src/style14.css +1 -0
  55. package/dist/es/src/style15.css +1 -0
  56. package/dist/es/src/style16.css +1 -0
  57. package/dist/es/src/style17.css +1 -0
  58. package/dist/es/src/style18.css +1 -0
  59. package/dist/es/src/style19.css +1 -0
  60. package/dist/es/src/style2.css +1 -0
  61. package/dist/es/src/style20.css +1 -0
  62. package/dist/es/src/style21.css +0 -0
  63. package/dist/es/src/style22.css +1 -0
  64. package/dist/es/src/style23.css +1 -0
  65. package/dist/es/src/style24.css +1 -0
  66. package/dist/es/src/style25.css +1 -0
  67. package/dist/es/src/style26.css +1 -0
  68. package/dist/es/src/style27.css +1 -0
  69. package/dist/es/src/style28.css +1 -0
  70. package/dist/es/src/style29.css +1 -0
  71. package/dist/es/src/style3.css +1 -0
  72. package/dist/es/src/style30.css +1 -0
  73. package/dist/es/src/style31.css +1 -0
  74. package/dist/es/src/style32.css +1 -0
  75. package/dist/es/src/style33.css +1 -0
  76. package/dist/es/src/style4.css +1 -0
  77. package/dist/es/src/style5.css +1 -0
  78. package/dist/es/src/style6.css +1 -0
  79. package/dist/es/src/style7.css +1 -0
  80. package/dist/es/src/style8.css +1 -0
  81. package/dist/es/src/style9.css +1 -0
  82. package/dist/lib/index.css +1 -0
  83. package/dist/lib/index.js +5 -311
  84. package/dist/src/Dialog/SearchReference/index.d.ts +7 -4
  85. package/dist/src/Iconfont/index.d.ts +0 -1
  86. package/dist/src/components/Markdown/ATag/index.d.ts +0 -1
  87. package/dist/src/components/Markdown/Code/index.d.ts +0 -1
  88. package/dist/src/components/Markdown/Image/index.d.ts +0 -1
  89. package/dist/src/components/Markdown/Video/index.d.ts +0 -1
  90. package/dist/src/types.d.ts +11 -2
  91. package/package.json +19 -6
  92. package/dist/es/Dialog/AgentChat/style.less.mjs +0 -4
  93. package/dist/es/Dialog/ConnectToNetwork/style.less.mjs +0 -4
  94. package/dist/es/Dialog/FileCard/style.less.mjs +0 -4
  95. package/dist/es/Dialog/FilePreview/style.less.mjs +0 -4
  96. package/dist/es/Dialog/Greeting/style.less.mjs +0 -4
  97. package/dist/es/Dialog/HistoryContent/style.less.mjs +0 -4
  98. package/dist/es/Dialog/HistoryItem/style.less.mjs +0 -4
  99. package/dist/es/Dialog/KnowledgeDoc/style.less.mjs +0 -4
  100. package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/style.less.mjs +0 -4
  101. package/dist/es/Dialog/KnowledgeList/style.less.mjs +0 -4
  102. package/dist/es/Dialog/PromptManager/PromptList/style.less.mjs +0 -4
  103. package/dist/es/Dialog/PromptManager/style.less.mjs +0 -4
  104. package/dist/es/Dialog/PromptSetting/style.less.mjs +0 -4
  105. package/dist/es/Dialog/Recommend/style.less.mjs +0 -4
  106. package/dist/es/Dialog/ReferCollapse/style.less.mjs +0 -4
  107. package/dist/es/Dialog/SearchReference/style.less.mjs +0 -4
  108. package/dist/es/Dialog/SessionAction/style.less.mjs +0 -4
  109. package/dist/es/Dialog/SessionList/style.less.mjs +0 -4
  110. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/style.less.mjs +0 -4
  111. package/dist/es/Dialog/SessionListDrawer/style.less.mjs +0 -4
  112. package/dist/es/Dialog/SessionRefer/ReferItem/style.less.mjs +0 -4
  113. package/dist/es/Dialog/SessionRefer/style.less.mjs +0 -4
  114. package/dist/es/Dialog/SessionRelated/style.less.mjs +0 -4
  115. package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/style.less.mjs +0 -4
  116. package/dist/es/Dialog/UploadKnowledgeFiles/style.less.mjs +0 -4
  117. package/dist/es/Dialog/UploadingPrompt/style.less.mjs +0 -4
  118. package/dist/es/Dialog/style.less.mjs +0 -4
  119. package/dist/es/FileItem/style.less.mjs +0 -4
  120. package/dist/es/Footer/style.less.mjs +0 -4
  121. package/dist/es/InputProgress/style.less.mjs +0 -4
  122. package/dist/es/QuillEditor/style.less.mjs +0 -4
  123. package/dist/es/_virtual/_cloneBuffer.mjs +0 -4
  124. package/dist/es/_virtual/_commonjsHelpers.mjs +0 -8
  125. package/dist/es/_virtual/_nodeUtil.mjs +0 -4
  126. package/dist/es/_virtual/index.mjs +0 -4
  127. package/dist/es/_virtual/isBuffer.mjs +0 -4
  128. package/dist/es/_virtual/jsx-runtime.mjs +0 -7
  129. package/dist/es/_virtual/jsx-runtime2.mjs +0 -4
  130. package/dist/es/_virtual/lib.mjs +0 -4
  131. package/dist/es/_virtual/react-jsx-runtime.production.min.mjs +0 -4
  132. package/dist/es/_virtual/ua-parser.min.mjs +0 -4
  133. package/dist/es/components/Copy/style.less.mjs +0 -4
  134. package/dist/es/components/JsonDisplay/style.less.mjs +0 -4
  135. package/dist/es/components/Markdown/style.less.mjs +0 -4
  136. package/dist/es/favicon.ico +0 -0
  137. package/dist/es/favicon2.ico +0 -0
  138. package/dist/es/font/font_4108228_4w5nlhafpte.js +0 -1
  139. package/dist/es/font/font_4439177_0sppkcnqiqgs.js +0 -1
  140. package/dist/es/font/gos-font.js +0 -64
  141. package/dist/es/images/empty.svg +0 -40
  142. package/dist/es/images/loading.gif +0 -0
  143. package/dist/es/images/logo.png +0 -0
  144. package/dist/es/images/map-example.png +0 -0
  145. package/dist/es/images/sketch.png +0 -0
  146. package/dist/es/index.html +0 -43
  147. package/dist/es/logo192.png +0 -0
  148. package/dist/es/logo512.png +0 -0
  149. package/dist/es/manifest.json +0 -25
  150. package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
  151. package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +0 -201
  152. package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +0 -1087
  153. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +0 -104
  154. package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +0 -568
  155. package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +0 -158
  156. package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +0 -847
  157. package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +0 -35
  158. package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +0 -226
  159. package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +0 -33
  160. package/dist/es/node_modules/ahooks/es/useKeyPress/index.mjs +0 -221
  161. package/dist/es/node_modules/ahooks/es/useLatest/index.mjs +0 -8
  162. package/dist/es/node_modules/ahooks/es/useMemoizedFn/index.mjs +0 -19
  163. package/dist/es/node_modules/ahooks/es/useRafState/index.mjs +0 -16
  164. package/dist/es/node_modules/ahooks/es/useSize/index.mjs +0 -34
  165. package/dist/es/node_modules/ahooks/es/useUnmount/index.mjs +0 -17
  166. package/dist/es/node_modules/ahooks/es/useUnmountedRef/index.mjs +0 -13
  167. package/dist/es/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +0 -27
  168. package/dist/es/node_modules/ahooks/es/utils/depsAreSame.mjs +0 -11
  169. package/dist/es/node_modules/ahooks/es/utils/depsEqual.mjs +0 -7
  170. package/dist/es/node_modules/ahooks/es/utils/domTarget.mjs +0 -13
  171. package/dist/es/node_modules/ahooks/es/utils/index.mjs +0 -12
  172. package/dist/es/node_modules/ahooks/es/utils/isAppleDevice.mjs +0 -5
  173. package/dist/es/node_modules/ahooks/es/utils/isBrowser.mjs +0 -5
  174. package/dist/es/node_modules/ahooks/es/utils/isDev.mjs +0 -5
  175. package/dist/es/node_modules/ahooks/es/utils/useDeepCompareWithTarget.mjs +0 -11
  176. package/dist/es/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +0 -7
  177. package/dist/es/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +0 -8
  178. package/dist/es/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +0 -7
  179. package/dist/es/node_modules/antd/es/calendar/locale/zh_CN.mjs +0 -4
  180. package/dist/es/node_modules/antd/es/date-picker/locale/zh_CN.mjs +0 -23
  181. package/dist/es/node_modules/antd/es/locale/zh_CN.mjs +0 -132
  182. package/dist/es/node_modules/antd/es/time-picker/locale/zh_CN.mjs +0 -8
  183. package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +0 -20
  184. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +0 -4
  185. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +0 -76
  186. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +0 -14
  187. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +0 -34
  188. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +0 -172
  189. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +0 -81
  190. package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +0 -5
  191. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +0 -4
  192. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +0 -84
  193. package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +0 -5
  194. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +0 -4
  195. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +0 -9
  196. package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +0 -4
  197. package/dist/es/node_modules/antd-mobile/es/global/index.mjs +0 -4
  198. package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +0 -141
  199. package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +0 -9
  200. package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +0 -7
  201. package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +0 -4
  202. package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +0 -9
  203. package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +0 -6
  204. package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +0 -22
  205. package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +0 -11
  206. package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +0 -12
  207. package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +0 -46
  208. package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +0 -12
  209. package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +0 -13
  210. package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +0 -52
  211. package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +0 -11
  212. package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +0 -10
  213. package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +0 -15
  214. package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +0 -6
  215. package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +0 -8
  216. package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +0 -54
  217. package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +0 -32
  218. package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +0 -11
  219. package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +0 -19
  220. package/dist/es/node_modules/classnames/index.mjs +0 -42
  221. package/dist/es/node_modules/comma-separated-tokens/index.mjs +0 -13
  222. package/dist/es/node_modules/copy-to-clipboard/index.mjs +0 -46
  223. package/dist/es/node_modules/devlop/lib/default.mjs +0 -5
  224. package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +0 -93
  225. package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/create-h.mjs +0 -126
  226. package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/index.mjs +0 -8
  227. package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +0 -4
  228. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/index.mjs +0 -12
  229. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/aria.mjs +0 -61
  230. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/find.mjs +0 -33
  231. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/html.mjs +0 -368
  232. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/normalize.mjs +0 -6
  233. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/svg.mjs +0 -566
  234. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
  235. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
  236. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/create.mjs +0 -14
  237. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/defined-info.mjs +0 -36
  238. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/info.mjs +0 -28
  239. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/merge.mjs +0 -10
  240. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/schema.mjs +0 -21
  241. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/types.mjs +0 -15
  242. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xlink.mjs +0 -19
  243. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xml.mjs +0 -15
  244. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xmlns.mjs +0 -16
  245. package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +0 -16
  246. package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +0 -61
  247. package/dist/es/node_modules/hast-util-parse-selector/lib/index.mjs +0 -20
  248. package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +0 -223
  249. package/dist/es/node_modules/katex/dist/katex.min.css.mjs +0 -4
  250. package/dist/es/node_modules/katex/dist/katex.mjs +0 -11700
  251. package/dist/es/node_modules/lodash/_Hash.mjs +0 -22
  252. package/dist/es/node_modules/lodash/_ListCache.mjs +0 -22
  253. package/dist/es/node_modules/lodash/_Map.mjs +0 -6
  254. package/dist/es/node_modules/lodash/_MapCache.mjs +0 -22
  255. package/dist/es/node_modules/lodash/_Stack.mjs +0 -20
  256. package/dist/es/node_modules/lodash/_Symbol.mjs +0 -5
  257. package/dist/es/node_modules/lodash/_Uint8Array.mjs +0 -5
  258. package/dist/es/node_modules/lodash/_apply.mjs +0 -17
  259. package/dist/es/node_modules/lodash/_arrayLikeKeys.mjs +0 -21
  260. package/dist/es/node_modules/lodash/_assignMergeValue.mjs +0 -10
  261. package/dist/es/node_modules/lodash/_assignValue.mjs +0 -11
  262. package/dist/es/node_modules/lodash/_assocIndexOf.mjs +0 -12
  263. package/dist/es/node_modules/lodash/_baseAssignValue.mjs +0 -14
  264. package/dist/es/node_modules/lodash/_baseCreate.mjs +0 -17
  265. package/dist/es/node_modules/lodash/_baseFor.mjs +0 -5
  266. package/dist/es/node_modules/lodash/_baseGetTag.mjs +0 -11
  267. package/dist/es/node_modules/lodash/_baseIsArguments.mjs +0 -10
  268. package/dist/es/node_modules/lodash/_baseIsNative.mjs +0 -15
  269. package/dist/es/node_modules/lodash/_baseIsTypedArray.mjs +0 -13
  270. package/dist/es/node_modules/lodash/_baseKeysIn.mjs +0 -16
  271. package/dist/es/node_modules/lodash/_baseMerge.mjs +0 -22
  272. package/dist/es/node_modules/lodash/_baseMergeDeep.mjs +0 -33
  273. package/dist/es/node_modules/lodash/_baseRest.mjs +0 -11
  274. package/dist/es/node_modules/lodash/_baseSetToString.mjs +0 -14
  275. package/dist/es/node_modules/lodash/_baseTimes.mjs +0 -9
  276. package/dist/es/node_modules/lodash/_baseTrim.mjs +0 -9
  277. package/dist/es/node_modules/lodash/_baseUnary.mjs +0 -9
  278. package/dist/es/node_modules/lodash/_cloneArrayBuffer.mjs +0 -10
  279. package/dist/es/node_modules/lodash/_cloneBuffer.mjs +0 -17
  280. package/dist/es/node_modules/lodash/_cloneTypedArray.mjs +0 -10
  281. package/dist/es/node_modules/lodash/_copyArray.mjs +0 -10
  282. package/dist/es/node_modules/lodash/_copyObject.mjs +0 -16
  283. package/dist/es/node_modules/lodash/_coreJsData.mjs +0 -5
  284. package/dist/es/node_modules/lodash/_createAssigner.mjs +0 -17
  285. package/dist/es/node_modules/lodash/_createBaseFor.mjs +0 -14
  286. package/dist/es/node_modules/lodash/_defineProperty.mjs +0 -11
  287. package/dist/es/node_modules/lodash/_freeGlobal.mjs +0 -5
  288. package/dist/es/node_modules/lodash/_getMapData.mjs +0 -10
  289. package/dist/es/node_modules/lodash/_getNative.mjs +0 -11
  290. package/dist/es/node_modules/lodash/_getPrototype.mjs +0 -5
  291. package/dist/es/node_modules/lodash/_getRawTag.mjs +0 -16
  292. package/dist/es/node_modules/lodash/_getValue.mjs +0 -7
  293. package/dist/es/node_modules/lodash/_hashClear.mjs +0 -9
  294. package/dist/es/node_modules/lodash/_hashDelete.mjs +0 -8
  295. package/dist/es/node_modules/lodash/_hashGet.mjs +0 -14
  296. package/dist/es/node_modules/lodash/_hashHas.mjs +0 -10
  297. package/dist/es/node_modules/lodash/_hashSet.mjs +0 -10
  298. package/dist/es/node_modules/lodash/_initCloneObject.mjs +0 -11
  299. package/dist/es/node_modules/lodash/_isIndex.mjs +0 -9
  300. package/dist/es/node_modules/lodash/_isIterateeCall.mjs +0 -15
  301. package/dist/es/node_modules/lodash/_isKeyable.mjs +0 -8
  302. package/dist/es/node_modules/lodash/_isMasked.mjs +0 -12
  303. package/dist/es/node_modules/lodash/_isPrototype.mjs +0 -9
  304. package/dist/es/node_modules/lodash/_listCacheClear.mjs +0 -7
  305. package/dist/es/node_modules/lodash/_listCacheDelete.mjs +0 -13
  306. package/dist/es/node_modules/lodash/_listCacheGet.mjs +0 -10
  307. package/dist/es/node_modules/lodash/_listCacheHas.mjs +0 -9
  308. package/dist/es/node_modules/lodash/_listCacheSet.mjs +0 -10
  309. package/dist/es/node_modules/lodash/_mapCacheClear.mjs +0 -15
  310. package/dist/es/node_modules/lodash/_mapCacheDelete.mjs +0 -10
  311. package/dist/es/node_modules/lodash/_mapCacheGet.mjs +0 -9
  312. package/dist/es/node_modules/lodash/_mapCacheHas.mjs +0 -9
  313. package/dist/es/node_modules/lodash/_mapCacheSet.mjs +0 -10
  314. package/dist/es/node_modules/lodash/_nativeCreate.mjs +0 -5
  315. package/dist/es/node_modules/lodash/_nativeKeysIn.mjs +0 -11
  316. package/dist/es/node_modules/lodash/_nodeUtil.mjs +0 -17
  317. package/dist/es/node_modules/lodash/_objectToString.mjs +0 -8
  318. package/dist/es/node_modules/lodash/_overArg.mjs +0 -9
  319. package/dist/es/node_modules/lodash/_overRest.mjs +0 -16
  320. package/dist/es/node_modules/lodash/_root.mjs +0 -5
  321. package/dist/es/node_modules/lodash/_safeGet.mjs +0 -8
  322. package/dist/es/node_modules/lodash/_setToString.mjs +0 -6
  323. package/dist/es/node_modules/lodash/_shortOut.mjs +0 -17
  324. package/dist/es/node_modules/lodash/_stackClear.mjs +0 -9
  325. package/dist/es/node_modules/lodash/_stackDelete.mjs +0 -8
  326. package/dist/es/node_modules/lodash/_stackGet.mjs +0 -7
  327. package/dist/es/node_modules/lodash/_stackHas.mjs +0 -7
  328. package/dist/es/node_modules/lodash/_stackSet.mjs +0 -18
  329. package/dist/es/node_modules/lodash/_toSource.mjs +0 -18
  330. package/dist/es/node_modules/lodash/_trimmedEndIndex.mjs +0 -10
  331. package/dist/es/node_modules/lodash/constant.mjs +0 -9
  332. package/dist/es/node_modules/lodash/debounce.mjs +0 -57
  333. package/dist/es/node_modules/lodash/eq.mjs +0 -7
  334. package/dist/es/node_modules/lodash/identity.mjs +0 -7
  335. package/dist/es/node_modules/lodash/isArguments.mjs +0 -10
  336. package/dist/es/node_modules/lodash/isArray.mjs +0 -4
  337. package/dist/es/node_modules/lodash/isArrayLike.mjs +0 -10
  338. package/dist/es/node_modules/lodash/isArrayLikeObject.mjs +0 -10
  339. package/dist/es/node_modules/lodash/isBuffer.mjs +0 -12
  340. package/dist/es/node_modules/lodash/isFunction.mjs +0 -13
  341. package/dist/es/node_modules/lodash/isLength.mjs +0 -8
  342. package/dist/es/node_modules/lodash/isObject.mjs +0 -8
  343. package/dist/es/node_modules/lodash/isObjectLike.mjs +0 -7
  344. package/dist/es/node_modules/lodash/isPlainObject.mjs +0 -17
  345. package/dist/es/node_modules/lodash/isSymbol.mjs +0 -10
  346. package/dist/es/node_modules/lodash/isTypedArray.mjs +0 -7
  347. package/dist/es/node_modules/lodash/keysIn.mjs +0 -11
  348. package/dist/es/node_modules/lodash/merge.mjs +0 -10
  349. package/dist/es/node_modules/lodash/now.mjs +0 -7
  350. package/dist/es/node_modules/lodash/stubFalse.mjs +0 -7
  351. package/dist/es/node_modules/lodash/toNumber.mjs +0 -23
  352. package/dist/es/node_modules/lodash/toPlainObject.mjs +0 -10
  353. package/dist/es/node_modules/longest-streak/index.mjs +0 -12
  354. package/dist/es/node_modules/mdast-util-math/lib/index.mjs +0 -170
  355. package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +0 -76
  356. package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +0 -48
  357. package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +0 -15
  358. package/dist/es/node_modules/micromark-factory-space/index.mjs +0 -15
  359. package/dist/es/node_modules/micromark-util-character/index.mjs +0 -10
  360. package/dist/es/node_modules/object-assign/index.mjs +0 -34
  361. package/dist/es/node_modules/rc-pagination/es/locale/zh_CN.mjs +0 -18
  362. package/dist/es/node_modules/rc-picker/es/locale/zh_CN.mjs +0 -31
  363. package/dist/es/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +0 -45
  364. package/dist/es/node_modules/react/jsx-runtime.mjs +0 -8
  365. package/dist/es/node_modules/react-device-detect/dist/lib.mjs +0 -723
  366. package/dist/es/node_modules/react-fast-compare/index.mjs +0 -78
  367. package/dist/es/node_modules/react-infinite-scroll-component/dist/index.es.mjs +0 -188
  368. package/dist/es/node_modules/react-quill/dist/quill.snow.css.mjs +0 -4
  369. package/dist/es/node_modules/rehype-katex/lib/index.mjs +0 -83
  370. package/dist/es/node_modules/remark-math/lib/index.mjs +0 -13
  371. package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +0 -294
  372. package/dist/es/node_modules/space-separated-tokens/index.mjs +0 -7
  373. package/dist/es/node_modules/toggle-selection/index.mjs +0 -25
  374. package/dist/es/node_modules/tslib/tslib.es6.mjs +0 -64
  375. package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +0 -120
  376. package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +0 -32
  377. package/dist/es/node_modules/unist-util-is/lib/index.mjs +0 -81
  378. package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +0 -6
  379. package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +0 -56
  380. package/dist/es/node_modules/web-namespaces/index.mjs +0 -11
  381. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/native.mjs +0 -4
  382. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/rng.mjs +0 -13
  383. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/stringify.mjs +0 -9
  384. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/v4.mjs +0 -23
  385. package/dist/es/robots.txt +0 -3
  386. package/dist/es/style.less.mjs +0 -4
  387. package/dist/lib/favicon.ico +0 -0
  388. package/dist/lib/favicon2.ico +0 -0
  389. package/dist/lib/font/font_4108228_4w5nlhafpte.js +0 -1
  390. package/dist/lib/font/font_4439177_0sppkcnqiqgs.js +0 -1
  391. package/dist/lib/font/gos-font.js +0 -64
  392. package/dist/lib/images/empty.svg +0 -40
  393. package/dist/lib/images/loading.gif +0 -0
  394. package/dist/lib/images/logo.png +0 -0
  395. package/dist/lib/images/map-example.png +0 -0
  396. package/dist/lib/images/sketch.png +0 -0
  397. package/dist/lib/index.html +0 -43
  398. package/dist/lib/logo192.png +0 -0
  399. package/dist/lib/logo512.png +0 -0
  400. package/dist/lib/manifest.json +0 -25
  401. package/dist/lib/robots.txt +0 -3
  402. /package/dist/es/{Dialog/HistoryItem → assets}/think.svg.mjs +0 -0
@@ -1,42 +0,0 @@
1
- import { getDefaultExportFromCjs as u } from "../../_virtual/_commonjsHelpers.mjs";
2
- import { __module as i } from "../../_virtual/index.mjs";
3
- /*!
4
- Copyright (c) 2018 Jed Watson.
5
- Licensed under the MIT License (MIT), see
6
- http://jedwatson.github.io/classnames
7
- */
8
- (function(s) {
9
- (function() {
10
- var f = {}.hasOwnProperty;
11
- function e() {
12
- for (var t = "", r = 0; r < arguments.length; r++) {
13
- var n = arguments[r];
14
- n && (t = o(t, a(n)));
15
- }
16
- return t;
17
- }
18
- function a(t) {
19
- if (typeof t == "string" || typeof t == "number")
20
- return t;
21
- if (typeof t != "object")
22
- return "";
23
- if (Array.isArray(t))
24
- return e.apply(null, t);
25
- if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
26
- return t.toString();
27
- var r = "";
28
- for (var n in t)
29
- f.call(t, n) && t[n] && (r = o(r, n));
30
- return r;
31
- }
32
- function o(t, r) {
33
- return r ? t ? t + " " + r : t + r : t;
34
- }
35
- s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
36
- })();
37
- })(i);
38
- var p = i.exports;
39
- const m = /* @__PURE__ */ u(p);
40
- export {
41
- m as default
42
- };
@@ -1,13 +0,0 @@
1
- function o(l) {
2
- const s = [], e = String(l || "");
3
- let t = e.indexOf(","), n = 0, i = !1;
4
- for (; !i; ) {
5
- t === -1 && (t = e.length, i = !0);
6
- const r = e.slice(n, t).trim();
7
- (r || !i) && s.push(r), n = t + 1, t = e.indexOf(",", n);
8
- }
9
- return s;
10
- }
11
- export {
12
- o as parse
13
- };
@@ -1,46 +0,0 @@
1
- import { getDefaultExportFromCjs as p } from "../../_virtual/_commonjsHelpers.mjs";
2
- import { t as m } from "../toggle-selection/index.mjs";
3
- var y = m, u = {
4
- "text/plain": "Text",
5
- "text/html": "Url",
6
- default: "Text"
7
- }, g = "Copy to clipboard: #{key}, Enter";
8
- function b(r) {
9
- var t = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
10
- return r.replace(/#{\s*key\s*}/g, t);
11
- }
12
- function w(r, t) {
13
- var o, i, d, l, c, e, n = !1;
14
- t || (t = {}), o = t.debug || !1;
15
- try {
16
- d = y(), l = document.createRange(), c = document.getSelection(), e = document.createElement("span"), e.textContent = r, e.ariaHidden = "true", e.style.all = "unset", e.style.position = "fixed", e.style.top = 0, e.style.clip = "rect(0, 0, 0, 0)", e.style.whiteSpace = "pre", e.style.webkitUserSelect = "text", e.style.MozUserSelect = "text", e.style.msUserSelect = "text", e.style.userSelect = "text", e.addEventListener("copy", function(a) {
17
- if (a.stopPropagation(), t.format)
18
- if (a.preventDefault(), typeof a.clipboardData == "undefined") {
19
- o && console.warn("unable to use e.clipboardData"), o && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
20
- var s = u[t.format] || u.default;
21
- window.clipboardData.setData(s, r);
22
- } else
23
- a.clipboardData.clearData(), a.clipboardData.setData(t.format, r);
24
- t.onCopy && (a.preventDefault(), t.onCopy(a.clipboardData));
25
- }), document.body.appendChild(e), l.selectNodeContents(e), c.addRange(l);
26
- var f = document.execCommand("copy");
27
- if (!f)
28
- throw new Error("copy command was unsuccessful");
29
- n = !0;
30
- } catch (a) {
31
- o && console.error("unable to copy using execCommand: ", a), o && console.warn("trying IE specific stuff");
32
- try {
33
- window.clipboardData.setData(t.format || "text", r), t.onCopy && t.onCopy(window.clipboardData), n = !0;
34
- } catch (s) {
35
- o && console.error("unable to copy using clipboardData: ", s), o && console.error("falling back to prompt"), i = b("message" in t ? t.message : g), window.prompt(i, r);
36
- }
37
- } finally {
38
- c && (typeof c.removeRange == "function" ? c.removeRange(l) : c.removeAllRanges()), e && document.body.removeChild(e), d();
39
- }
40
- return n;
41
- }
42
- var D = w;
43
- const x = /* @__PURE__ */ p(D);
44
- export {
45
- x as default
46
- };
@@ -1,5 +0,0 @@
1
- function o() {
2
- }
3
- export {
4
- o as ok
5
- };
@@ -1,93 +0,0 @@
1
- import { webNamespaces as m } from "../../web-namespaces/index.mjs";
2
- import { s as l, h as N } from "../node_modules/hastscript/lib/index.mjs";
3
- function v(t, e) {
4
- return i(t, e || {}) || {
5
- type: "root",
6
- children: []
7
- };
8
- }
9
- function i(t, e) {
10
- const n = h(t, e);
11
- return n && e.afterTransform && e.afterTransform(t, n), n;
12
- }
13
- function h(t, e) {
14
- switch (t.nodeType) {
15
- case 1:
16
- return x(
17
- /** @type {Element} */
18
- t,
19
- e
20
- );
21
- case 3:
22
- return g(
23
- /** @type {Text} */
24
- t
25
- );
26
- case 8:
27
- return y(
28
- /** @type {Comment} */
29
- t
30
- );
31
- case 9:
32
- return d(
33
- /** @type {Document} */
34
- t,
35
- e
36
- );
37
- case 10:
38
- return p();
39
- case 11:
40
- return d(
41
- /** @type {DocumentFragment} */
42
- t,
43
- e
44
- );
45
- default:
46
- return;
47
- }
48
- }
49
- function d(t, e) {
50
- return {
51
- type: "root",
52
- children: f(t, e)
53
- };
54
- }
55
- function p() {
56
- return {
57
- type: "doctype"
58
- };
59
- }
60
- function g(t) {
61
- return {
62
- type: "text",
63
- value: t.nodeValue || ""
64
- };
65
- }
66
- function y(t) {
67
- return {
68
- type: "comment",
69
- value: t.nodeValue || ""
70
- };
71
- }
72
- function x(t, e) {
73
- const n = t.namespaceURI, o = n === m.svg ? l : N, r = n === m.html ? t.tagName.toLowerCase() : t.tagName, c = (
74
- // @ts-expect-error: DOM types are wrong, content can exist.
75
- n === m.html && r === "template" ? t.content : t
76
- ), s = t.getAttributeNames(), a = {};
77
- let u = -1;
78
- for (; ++u < s.length; )
79
- a[s[u]] = t.getAttribute(s[u]) || "";
80
- return o(r, a, f(c, e));
81
- }
82
- function f(t, e) {
83
- const n = t.childNodes, o = [];
84
- let r = -1;
85
- for (; ++r < n.length; ) {
86
- const c = i(n[r], e);
87
- c !== void 0 && o.push(c);
88
- }
89
- return o;
90
- }
91
- export {
92
- v as fromDom
93
- };
@@ -1,126 +0,0 @@
1
- import { parse as d } from "../../../../comma-separated-tokens/index.mjs";
2
- import { parse as m } from "../../../../space-separated-tokens/index.mjs";
3
- import { parseSelector as A } from "../../../../hast-util-parse-selector/lib/index.mjs";
4
- import { find as N } from "../../property-information/lib/find.mjs";
5
- import { normalize as a } from "../../property-information/lib/normalize.mjs";
6
- function L(t, r, n) {
7
- const e = n ? S(n) : void 0;
8
- function i(o, s, ...p) {
9
- let f;
10
- if (o == null) {
11
- f = {
12
- type: "root",
13
- children: []
14
- };
15
- const c = (
16
- /** @type {Child} */
17
- s
18
- );
19
- p.unshift(c);
20
- } else {
21
- f = A(o, r);
22
- const c = f.tagName.toLowerCase(), l = e ? e.get(c) : void 0;
23
- if (f.tagName = l || c, g(s))
24
- p.unshift(s);
25
- else
26
- for (const [h, b] of Object.entries(s))
27
- j(t, f.properties, h, b);
28
- }
29
- for (const c of p)
30
- y(f.children, c);
31
- return f.type === "element" && f.tagName === "template" && (f.content = {
32
- type: "root",
33
- children: f.children
34
- }, f.children = []), f;
35
- }
36
- return i;
37
- }
38
- function g(t) {
39
- if (t === null || typeof t != "object" || Array.isArray(t))
40
- return !0;
41
- if (typeof t.type != "string")
42
- return !1;
43
- const r = (
44
- /** @type {Record<string, unknown>} */
45
- t
46
- ), n = Object.keys(t);
47
- for (const e of n) {
48
- const i = r[e];
49
- if (i && typeof i == "object") {
50
- if (!Array.isArray(i))
51
- return !0;
52
- const o = (
53
- /** @type {ReadonlyArray<unknown>} */
54
- i
55
- );
56
- for (const s of o)
57
- if (typeof s != "number" && typeof s != "string")
58
- return !0;
59
- }
60
- }
61
- return !!("children" in t && Array.isArray(t.children));
62
- }
63
- function j(t, r, n, e) {
64
- const i = N(t, n);
65
- let o;
66
- if (e != null) {
67
- if (typeof e == "number") {
68
- if (Number.isNaN(e))
69
- return;
70
- o = e;
71
- } else
72
- typeof e == "boolean" ? o = e : typeof e == "string" ? i.spaceSeparated ? o = m(e) : i.commaSeparated ? o = d(e) : i.commaOrSpaceSeparated ? o = m(d(e).join(" ")) : o = u(i, i.property, e) : Array.isArray(e) ? o = [...e] : o = i.property === "style" ? w(e) : String(e);
73
- if (Array.isArray(o)) {
74
- const s = [];
75
- for (const p of o)
76
- s.push(
77
- /** @type {number | string} */
78
- u(i, i.property, p)
79
- );
80
- o = s;
81
- }
82
- i.property === "className" && Array.isArray(r.className) && (o = r.className.concat(
83
- /** @type {Array<number | string> | number | string} */
84
- o
85
- )), r[i.property] = o;
86
- }
87
- }
88
- function y(t, r) {
89
- if (r != null)
90
- if (typeof r == "number" || typeof r == "string")
91
- t.push({
92
- type: "text",
93
- value: String(r)
94
- });
95
- else if (Array.isArray(r))
96
- for (const n of r)
97
- y(t, n);
98
- else if (typeof r == "object" && "type" in r)
99
- r.type === "root" ? y(t, r.children) : t.push(r);
100
- else
101
- throw new Error("Expected node, nodes, or string, got `" + r + "`");
102
- }
103
- function u(t, r, n) {
104
- if (typeof n == "string") {
105
- if (t.number && n && !Number.isNaN(Number(n)))
106
- return Number(n);
107
- if ((t.boolean || t.overloadedBoolean) && (n === "" || a(n) === a(r)))
108
- return !0;
109
- }
110
- return n;
111
- }
112
- function w(t) {
113
- const r = [];
114
- for (const [n, e] of Object.entries(t))
115
- r.push([n, e].join(": "));
116
- return r.join("; ");
117
- }
118
- function S(t) {
119
- const r = /* @__PURE__ */ new Map();
120
- for (const n of t)
121
- r.set(n.toLowerCase(), n);
122
- return r;
123
- }
124
- export {
125
- L as createH
126
- };
@@ -1,8 +0,0 @@
1
- import { svg as t, html as m } from "../../property-information/index.mjs";
2
- import { createH as o } from "./create-h.mjs";
3
- import { svgCaseSensitiveTagNames as r } from "./svg-case-sensitive-tag-names.mjs";
4
- const a = o(m, "div"), g = o(t, "g", r);
5
- export {
6
- a as h,
7
- g as s
8
- };
@@ -1,4 +0,0 @@
1
- const e = ["altGlyph", "altGlyphDef", "altGlyphItem", "animateColor", "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "glyphRef", "linearGradient", "radialGradient", "solidColor", "textArea", "textPath"];
2
- export {
3
- e as svgCaseSensitiveTagNames
4
- };
@@ -1,12 +0,0 @@
1
- import { merge as m } from "./lib/util/merge.mjs";
2
- import { aria as o } from "./lib/aria.mjs";
3
- import { html as s } from "./lib/html.mjs";
4
- import { svg as p } from "./lib/svg.mjs";
5
- import { xlink as r } from "./lib/xlink.mjs";
6
- import { xmlns as t } from "./lib/xmlns.mjs";
7
- import { xml as i } from "./lib/xml.mjs";
8
- const x = m([o, s, r, t, i], "html"), e = m([o, p, r, t, i], "svg");
9
- export {
10
- x as html,
11
- e as svg
12
- };
@@ -1,61 +0,0 @@
1
- import { create as l } from "./util/create.mjs";
2
- import { booleanish as a, number as r, spaceSeparated as i } from "./util/types.mjs";
3
- const u = l({
4
- properties: {
5
- ariaActiveDescendant: null,
6
- ariaAtomic: a,
7
- ariaAutoComplete: null,
8
- ariaBusy: a,
9
- ariaChecked: a,
10
- ariaColCount: r,
11
- ariaColIndex: r,
12
- ariaColSpan: r,
13
- ariaControls: i,
14
- ariaCurrent: null,
15
- ariaDescribedBy: i,
16
- ariaDetails: null,
17
- ariaDisabled: a,
18
- ariaDropEffect: i,
19
- ariaErrorMessage: null,
20
- ariaExpanded: a,
21
- ariaFlowTo: i,
22
- ariaGrabbed: a,
23
- ariaHasPopup: null,
24
- ariaHidden: a,
25
- ariaInvalid: null,
26
- ariaKeyShortcuts: null,
27
- ariaLabel: null,
28
- ariaLabelledBy: i,
29
- ariaLevel: r,
30
- ariaLive: null,
31
- ariaModal: a,
32
- ariaMultiLine: a,
33
- ariaMultiSelectable: a,
34
- ariaOrientation: null,
35
- ariaOwns: i,
36
- ariaPlaceholder: null,
37
- ariaPosInSet: r,
38
- ariaPressed: a,
39
- ariaReadOnly: a,
40
- ariaRelevant: null,
41
- ariaRequired: a,
42
- ariaRoleDescription: i,
43
- ariaRowCount: r,
44
- ariaRowIndex: r,
45
- ariaRowSpan: r,
46
- ariaSelected: a,
47
- ariaSetSize: r,
48
- ariaSort: null,
49
- ariaValueMax: r,
50
- ariaValueMin: r,
51
- ariaValueNow: r,
52
- ariaValueText: null,
53
- role: null
54
- },
55
- transform(n, e) {
56
- return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
57
- }
58
- });
59
- export {
60
- u as aria
61
- };
@@ -1,33 +0,0 @@
1
- import { DefinedInfo as s } from "./util/defined-info.mjs";
2
- import { Info as p } from "./util/info.mjs";
3
- import { normalize as f } from "./normalize.mjs";
4
- const l = /[A-Z]/g, c = /-[a-z]/g, d = /^data[-\w.:]+$/i;
5
- function y(r, t) {
6
- const o = f(t);
7
- let i = t, a = p;
8
- if (o in r.normal)
9
- return r.property[r.normal[o]];
10
- if (o.length > 4 && o.slice(0, 4) === "data" && d.test(t)) {
11
- if (t.charAt(4) === "-") {
12
- const e = t.slice(5).replace(c, h);
13
- i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
14
- } else {
15
- const e = t.slice(4);
16
- if (!c.test(e)) {
17
- let n = e.replace(l, m);
18
- n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
19
- }
20
- }
21
- a = s;
22
- }
23
- return new a(i, t);
24
- }
25
- function m(r) {
26
- return "-" + r.toLowerCase();
27
- }
28
- function h(r) {
29
- return r.charAt(1).toUpperCase();
30
- }
31
- export {
32
- y as find
33
- };