ant-design-x-vue 1.1.1 → 1.2.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.
Files changed (518) hide show
  1. package/dist/index.umd.js +19 -198
  2. package/es/_util/cssinjs/Cache.mjs +16 -0
  3. package/es/_util/cssinjs/Keyframes.mjs +11 -0
  4. package/es/_util/cssinjs/StyleContext.mjs +116 -0
  5. package/es/_util/cssinjs/hooks/useCSSVarRegister.mjs +47 -0
  6. package/es/_util/cssinjs/hooks/useCacheToken.mjs +9 -0
  7. package/es/_util/cssinjs/hooks/useCacheToken.tsx2.mjs +76 -0
  8. package/es/_util/cssinjs/hooks/useGlobalCache.mjs +27 -0
  9. package/es/_util/cssinjs/hooks/useHMR.mjs +7 -0
  10. package/es/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.mjs +51 -0
  11. package/es/_util/cssinjs/hooks/useStyleRegister/index.mjs +17 -0
  12. package/es/_util/cssinjs/hooks/useStyleRegister/index.tsx2.mjs +541 -0
  13. package/es/_util/cssinjs/index.mjs +59 -0
  14. package/es/_util/cssinjs/linters/contentQuotesLinter.mjs +13 -0
  15. package/es/_util/cssinjs/linters/hashedAnimationLinter.mjs +10 -0
  16. package/es/_util/cssinjs/linters/index.mjs +12 -0
  17. package/es/_util/cssinjs/linters/interface.mjs +1 -0
  18. package/es/_util/cssinjs/linters/legacyNotSelectorLinter.mjs +15 -0
  19. package/es/_util/cssinjs/linters/logicalPropertiesLinter.mjs +61 -0
  20. package/es/_util/cssinjs/linters/parentSelectorLinter.mjs +7 -0
  21. package/es/_util/cssinjs/linters/utils.mjs +11 -0
  22. package/es/_util/cssinjs/theme/Theme.mjs +18 -0
  23. package/es/_util/cssinjs/theme/ThemeCache.mjs +72 -0
  24. package/es/_util/cssinjs/theme/createTheme.mjs +10 -0
  25. package/es/_util/cssinjs/theme/index.mjs +8 -0
  26. package/es/_util/cssinjs/theme/interface.mjs +1 -0
  27. package/es/_util/cssinjs/transformers/interface.mjs +1 -0
  28. package/es/_util/cssinjs/transformers/legacyLogicalProperties.mjs +92 -0
  29. package/es/_util/cssinjs/transformers/px2rem.mjs +31 -0
  30. package/es/_util/cssinjs/util.mjs +102 -0
  31. package/es/_util/cssinjs-utils/_util/hooks/useUniqueMemo.mjs +55 -0
  32. package/es/_util/cssinjs-utils/hooks/useCSP.mjs +4 -0
  33. package/es/_util/cssinjs-utils/hooks/usePrefix.mjs +1 -0
  34. package/es/_util/cssinjs-utils/hooks/useToken.mjs +1 -0
  35. package/es/_util/cssinjs-utils/index.mjs +10 -0
  36. package/es/_util/cssinjs-utils/interface/components.mjs +1 -0
  37. package/es/_util/cssinjs-utils/interface/index.mjs +1 -0
  38. package/es/_util/cssinjs-utils/util/calc/CSSCalculator.mjs +35 -0
  39. package/es/_util/cssinjs-utils/util/calc/NumCalculator.mjs +24 -0
  40. package/es/_util/cssinjs-utils/util/calc/calculator.mjs +5 -0
  41. package/es/_util/cssinjs-utils/util/calc/index.mjs +9 -0
  42. package/es/_util/cssinjs-utils/util/genStyleUtils.mjs +188 -0
  43. package/es/_util/cssinjs-utils/util/getCompVarPrefix.mjs +7 -0
  44. package/es/_util/cssinjs-utils/util/getComponentToken.mjs +18 -0
  45. package/es/_util/cssinjs-utils/util/getDefaultComponentToken.mjs +9 -0
  46. package/es/_util/cssinjs-utils/util/maxmin.mjs +15 -0
  47. package/es/_util/cssinjs-utils/util/statistic.mjs +45 -0
  48. package/es/_util/getScrollBarSize.mjs +33 -0
  49. package/es/_util/getValue.mjs +11 -0
  50. package/es/_util/hooks/use-event-callback.mjs +10 -0
  51. package/es/_util/hooks/use-state.mjs +11 -0
  52. package/es/_util/hooks/use-x-component-config.mjs +17 -0
  53. package/es/_util/hooks/useMergedState.mjs +21 -0
  54. package/es/_util/motion.mjs +23 -0
  55. package/es/_util/pick-attrs.mjs +43 -0
  56. package/es/_util/setStyle.mjs +11 -0
  57. package/es/_util/supportsPassive.mjs +14 -0
  58. package/es/_util/transition.mjs +75 -0
  59. package/es/_util/type.mjs +48 -0
  60. package/es/_util/warning.mjs +45 -0
  61. package/es/attachments/Attachments.mjs +4 -0
  62. package/es/attachments/Attachments2.mjs +255 -0
  63. package/es/attachments/DropArea.mjs +58 -0
  64. package/es/attachments/FileList/AudioIcon.mjs +5 -0
  65. package/es/attachments/FileList/AudioIcon2.mjs +35 -0
  66. package/es/attachments/FileList/FileList.mjs +4 -0
  67. package/es/attachments/FileList/FileList2.mjs +1574 -0
  68. package/es/attachments/FileList/FileListCard.mjs +168 -0
  69. package/es/attachments/FileList/Progress.mjs +49 -0
  70. package/es/attachments/FileList/VideoIcon.mjs +30 -0
  71. package/es/attachments/FileList/index.mjs +6 -0
  72. package/es/attachments/PlaceholderUploader.mjs +79 -0
  73. package/es/attachments/SilentUploader.mjs +27 -0
  74. package/es/attachments/context.mjs +32 -0
  75. package/es/attachments/index.mjs +12 -0
  76. package/es/attachments/interface.mjs +1 -0
  77. package/es/attachments/style/fileCard.mjs +157 -0
  78. package/es/attachments/style/index.mjs +584 -0
  79. package/es/attachments/util.mjs +31 -0
  80. package/es/bubble/Bubble.mjs +126 -0
  81. package/es/bubble/BubbleList.mjs +136 -0
  82. package/es/bubble/context.mjs +31 -0
  83. package/es/bubble/hooks/useDisplayData.mjs +36 -0
  84. package/es/bubble/hooks/useListData.mjs +18 -0
  85. package/es/bubble/hooks/useTypedEffect.mjs +24 -0
  86. package/es/bubble/hooks/useTypingConfig.mjs +24 -0
  87. package/es/bubble/index.mjs +10 -0
  88. package/es/bubble/interface.mjs +1 -0
  89. package/es/bubble/loading.mjs +25 -0
  90. package/es/bubble/style/content.mjs +59 -0
  91. package/es/bubble/style/index.mjs +148 -0
  92. package/es/bubble/style/list.mjs +14 -0
  93. package/es/conversations/Conversations.mjs +105 -0
  94. package/es/conversations/ConversationsItem.mjs +89 -0
  95. package/es/conversations/GroupTitle.mjs +22 -0
  96. package/es/conversations/context.mjs +31 -0
  97. package/es/conversations/hooks/useGroupable.mjs +48 -0
  98. package/es/conversations/index.mjs +5 -0
  99. package/es/conversations/interface.mjs +1 -0
  100. package/es/conversations/style/index.mjs +103 -0
  101. package/es/index.mjs +38 -0
  102. package/es/prompts/Prompts.mjs +116 -0
  103. package/es/prompts/index.mjs +5 -0
  104. package/es/prompts/interface.mjs +1 -0
  105. package/es/prompts/style/index.mjs +143 -0
  106. package/es/sender/Sender.mjs +251 -0
  107. package/es/sender/SenderHeader.mjs +82 -0
  108. package/es/sender/StopLoading.mjs +52 -0
  109. package/es/sender/components/ActionButton/context.mjs +31 -0
  110. package/es/sender/components/ActionButton/index.mjs +65 -0
  111. package/es/sender/components/ClearButton.mjs +41 -0
  112. package/es/sender/components/LoadingButton.mjs +58 -0
  113. package/es/sender/components/SendButton.mjs +45 -0
  114. package/es/sender/components/SpeechButton/RecordingIcon.mjs +49 -0
  115. package/es/sender/components/SpeechButton/index.mjs +59 -0
  116. package/es/sender/context.mjs +31 -0
  117. package/es/sender/index.mjs +9 -0
  118. package/es/sender/interface.mjs +1 -0
  119. package/es/sender/style/header.mjs +49 -0
  120. package/es/sender/style/index.mjs +147 -0
  121. package/es/sender/useSpeech.mjs +55 -0
  122. package/es/suggestion/Suggestion.mjs +93 -0
  123. package/es/suggestion/index.mjs +5 -0
  124. package/es/suggestion/interface.mjs +1 -0
  125. package/es/suggestion/style/index.mjs +41 -0
  126. package/es/suggestion/useActive.mjs +56 -0
  127. package/es/theme/components.mjs +1 -0
  128. package/es/theme/cssinjs-utils.mjs +1 -0
  129. package/es/theme/genStyleUtils.mjs +32 -0
  130. package/es/theme/index.mjs +4 -0
  131. package/es/theme/patch-antd.mjs +33 -0
  132. package/es/theme/useToken.mjs +351 -0
  133. package/es/thought-chain/ThoughtChain.mjs +107 -0
  134. package/es/thought-chain/context.mjs +31 -0
  135. package/es/thought-chain/hooks/useCollapsible.mjs +36 -0
  136. package/es/thought-chain/index.mjs +5 -0
  137. package/es/thought-chain/interface.mjs +4 -0
  138. package/es/thought-chain/item.mjs +96 -0
  139. package/es/thought-chain/style/index.mjs +215 -0
  140. package/es/transition-collapse/TransitionCollapse.mjs +49 -0
  141. package/es/transition-collapse/index.mjs +10 -0
  142. package/es/transition-collapse/style/index.mjs +22 -0
  143. package/es/type-utility.mjs +1 -0
  144. package/es/use-x-agent/index.mjs +7 -0
  145. package/es/use-x-agent/use-x-agent.mjs +49 -0
  146. package/es/use-x-chat/index.mjs +5 -0
  147. package/es/use-x-chat/use-x-chat.mjs +97 -0
  148. package/es/use-x-chat/useSyncState.mjs +12 -0
  149. package/es/vc-util/Dom/addEventListener.mjs +15 -0
  150. package/es/vc-util/Dom/canUseDom.mjs +6 -0
  151. package/es/vc-util/Dom/class.mjs +19 -0
  152. package/es/vc-util/Dom/contains.mjs +6 -0
  153. package/es/vc-util/Dom/css.mjs +86 -0
  154. package/es/vc-util/Dom/dynamicCSS.mjs +70 -0
  155. package/es/vc-util/Dom/isVisible.mjs +20 -0
  156. package/es/vc-util/Dom/scrollLocker.mjs +66 -0
  157. package/es/vc-util/devWarning.mjs +9 -0
  158. package/es/vc-util/get.mjs +12 -0
  159. package/es/vc-util/isEqual.mjs +32 -0
  160. package/es/vc-util/isMobile.mjs +13 -0
  161. package/es/vc-util/set.mjs +14 -0
  162. package/es/vc-util/warning.mjs +26 -0
  163. package/es/version/index.mjs +4 -0
  164. package/es/version/token-meta.mjs +7 -0
  165. package/es/version/token.mjs +21 -0
  166. package/es/version/version.mjs +4 -0
  167. package/es/welcome/Welcome.mjs +91 -0
  168. package/es/welcome/index.mjs +5 -0
  169. package/es/welcome/interface.mjs +1 -0
  170. package/es/welcome/style/index.mjs +69 -0
  171. package/es/x-provider/context.mjs +31 -0
  172. package/es/x-provider/hooks/use-x-provider-context.mjs +21 -0
  173. package/es/x-provider/index.mjs +8 -0
  174. package/es/x-provider/index2.mjs +81 -0
  175. package/es/x-request/index.mjs +7 -0
  176. package/es/x-request/x-fetch.mjs +22 -0
  177. package/es/x-request/x-request.mjs +83 -0
  178. package/es/x-stream/index.mjs +5 -0
  179. package/es/x-stream/x-stream.mjs +64 -0
  180. package/lib/_util/cssinjs/Cache.js +1 -0
  181. package/lib/_util/cssinjs/Keyframes.js +1 -0
  182. package/lib/_util/cssinjs/StyleContext.js +1 -0
  183. package/lib/_util/cssinjs/hooks/useCSSVarRegister.js +1 -0
  184. package/lib/_util/cssinjs/hooks/useCacheToken.js +1 -0
  185. package/lib/_util/cssinjs/hooks/useCacheToken.tsx2.js +1 -0
  186. package/lib/_util/cssinjs/hooks/useGlobalCache.js +1 -0
  187. package/lib/_util/cssinjs/hooks/useHMR.js +1 -0
  188. package/lib/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.js +1 -0
  189. package/lib/_util/cssinjs/hooks/useStyleRegister/index.js +1 -0
  190. package/lib/_util/cssinjs/hooks/useStyleRegister/index.tsx2.js +2 -0
  191. package/lib/_util/cssinjs/index.js +1 -0
  192. package/lib/_util/cssinjs/linters/contentQuotesLinter.js +1 -0
  193. package/lib/_util/cssinjs/linters/hashedAnimationLinter.js +1 -0
  194. package/lib/_util/cssinjs/linters/index.js +1 -0
  195. package/lib/_util/cssinjs/linters/interface.js +1 -0
  196. package/lib/_util/cssinjs/linters/legacyNotSelectorLinter.js +1 -0
  197. package/lib/_util/cssinjs/linters/logicalPropertiesLinter.js +1 -0
  198. package/lib/_util/cssinjs/linters/parentSelectorLinter.js +1 -0
  199. package/lib/_util/cssinjs/linters/utils.js +1 -0
  200. package/lib/_util/cssinjs/theme/Theme.js +1 -0
  201. package/lib/_util/cssinjs/theme/ThemeCache.js +1 -0
  202. package/lib/_util/cssinjs/theme/createTheme.js +1 -0
  203. package/lib/_util/cssinjs/theme/index.js +1 -0
  204. package/lib/_util/cssinjs/theme/interface.js +1 -0
  205. package/lib/_util/cssinjs/transformers/interface.js +1 -0
  206. package/lib/_util/cssinjs/transformers/legacyLogicalProperties.js +1 -0
  207. package/lib/_util/cssinjs/transformers/px2rem.js +1 -0
  208. package/lib/_util/cssinjs/util.js +1 -0
  209. package/lib/_util/cssinjs-utils/_util/hooks/useUniqueMemo.js +1 -0
  210. package/lib/_util/cssinjs-utils/hooks/useCSP.js +1 -0
  211. package/lib/_util/cssinjs-utils/hooks/usePrefix.js +1 -0
  212. package/lib/_util/cssinjs-utils/hooks/useToken.js +1 -0
  213. package/lib/_util/cssinjs-utils/index.js +1 -0
  214. package/lib/_util/cssinjs-utils/interface/components.js +1 -0
  215. package/lib/_util/cssinjs-utils/interface/index.js +1 -0
  216. package/lib/_util/cssinjs-utils/util/calc/CSSCalculator.js +1 -0
  217. package/lib/_util/cssinjs-utils/util/calc/NumCalculator.js +1 -0
  218. package/lib/_util/cssinjs-utils/util/calc/calculator.js +1 -0
  219. package/lib/_util/cssinjs-utils/util/calc/index.js +1 -0
  220. package/lib/_util/cssinjs-utils/util/genStyleUtils.js +1 -0
  221. package/lib/_util/cssinjs-utils/util/getCompVarPrefix.js +1 -0
  222. package/lib/_util/cssinjs-utils/util/getComponentToken.js +1 -0
  223. package/lib/_util/cssinjs-utils/util/getDefaultComponentToken.js +1 -0
  224. package/lib/_util/cssinjs-utils/util/maxmin.js +1 -0
  225. package/lib/_util/cssinjs-utils/util/statistic.js +1 -0
  226. package/lib/_util/getScrollBarSize.js +1 -0
  227. package/lib/_util/getValue.js +1 -0
  228. package/lib/_util/hooks/use-event-callback.js +1 -0
  229. package/lib/_util/hooks/use-state.js +1 -0
  230. package/lib/_util/hooks/use-x-component-config.js +1 -0
  231. package/lib/_util/hooks/useMergedState.js +1 -0
  232. package/lib/_util/motion.js +1 -0
  233. package/lib/_util/pick-attrs.js +18 -0
  234. package/lib/_util/setStyle.js +1 -0
  235. package/lib/_util/supportsPassive.js +1 -0
  236. package/lib/_util/transition.js +1 -0
  237. package/lib/_util/type.js +1 -0
  238. package/lib/_util/warning.js +1 -0
  239. package/lib/attachments/Attachments.js +1 -0
  240. package/lib/attachments/Attachments2.js +5 -0
  241. package/lib/attachments/DropArea.js +1 -0
  242. package/lib/attachments/FileList/AudioIcon.js +1 -0
  243. package/lib/attachments/FileList/AudioIcon2.js +1 -0
  244. package/lib/attachments/FileList/FileList.js +1 -0
  245. package/lib/attachments/FileList/FileList2.js +57 -0
  246. package/lib/attachments/FileList/FileListCard.js +1 -0
  247. package/lib/attachments/FileList/Progress.js +1 -0
  248. package/lib/attachments/FileList/VideoIcon.js +1 -0
  249. package/lib/attachments/FileList/index.js +1 -0
  250. package/lib/attachments/PlaceholderUploader.js +1 -0
  251. package/lib/attachments/SilentUploader.js +1 -0
  252. package/lib/attachments/context.js +1 -0
  253. package/lib/attachments/index.js +1 -0
  254. package/lib/attachments/interface.js +1 -0
  255. package/lib/attachments/style/fileCard.js +1 -0
  256. package/lib/attachments/style/index.js +1 -0
  257. package/lib/attachments/util.js +1 -0
  258. package/lib/bubble/Bubble.js +1 -0
  259. package/lib/bubble/BubbleList.js +1 -0
  260. package/lib/bubble/context.js +1 -0
  261. package/lib/bubble/hooks/useDisplayData.js +1 -0
  262. package/lib/bubble/hooks/useListData.js +1 -0
  263. package/lib/bubble/hooks/useTypedEffect.js +1 -0
  264. package/lib/bubble/hooks/useTypingConfig.js +1 -0
  265. package/lib/bubble/index.js +1 -0
  266. package/lib/bubble/interface.js +1 -0
  267. package/lib/bubble/loading.js +1 -0
  268. package/lib/bubble/style/content.js +1 -0
  269. package/lib/bubble/style/index.js +1 -0
  270. package/lib/bubble/style/list.js +1 -0
  271. package/lib/conversations/Conversations.js +1 -0
  272. package/lib/conversations/ConversationsItem.js +1 -0
  273. package/lib/conversations/GroupTitle.js +1 -0
  274. package/lib/conversations/context.js +1 -0
  275. package/lib/conversations/hooks/useGroupable.js +1 -0
  276. package/lib/conversations/index.js +1 -0
  277. package/lib/conversations/interface.js +1 -0
  278. package/lib/conversations/style/index.js +1 -0
  279. package/lib/index.js +1 -0
  280. package/lib/prompts/Prompts.js +1 -0
  281. package/lib/prompts/index.js +1 -0
  282. package/lib/prompts/interface.js +1 -0
  283. package/lib/prompts/style/index.js +1 -0
  284. package/lib/sender/Sender.js +1 -0
  285. package/lib/sender/SenderHeader.js +1 -0
  286. package/lib/sender/StopLoading.js +1 -0
  287. package/lib/sender/components/ActionButton/context.js +1 -0
  288. package/lib/sender/components/ActionButton/index.js +1 -0
  289. package/lib/sender/components/ClearButton.js +1 -0
  290. package/lib/sender/components/LoadingButton.js +1 -0
  291. package/lib/sender/components/SendButton.js +1 -0
  292. package/lib/sender/components/SpeechButton/RecordingIcon.js +1 -0
  293. package/lib/sender/components/SpeechButton/index.js +1 -0
  294. package/lib/sender/context.js +1 -0
  295. package/lib/sender/index.js +1 -0
  296. package/lib/sender/interface.js +1 -0
  297. package/lib/sender/style/header.js +1 -0
  298. package/lib/sender/style/index.js +1 -0
  299. package/lib/sender/useSpeech.js +1 -0
  300. package/lib/suggestion/Suggestion.js +1 -0
  301. package/lib/suggestion/index.js +1 -0
  302. package/lib/suggestion/interface.js +1 -0
  303. package/lib/suggestion/style/index.js +1 -0
  304. package/lib/suggestion/useActive.js +1 -0
  305. package/lib/theme/components.js +1 -0
  306. package/lib/theme/cssinjs-utils.js +1 -0
  307. package/lib/theme/genStyleUtils.js +1 -0
  308. package/lib/theme/index.js +1 -0
  309. package/lib/theme/patch-antd.js +1 -0
  310. package/lib/theme/useToken.js +35 -0
  311. package/lib/thought-chain/ThoughtChain.js +1 -0
  312. package/lib/thought-chain/context.js +1 -0
  313. package/lib/thought-chain/hooks/useCollapsible.js +1 -0
  314. package/lib/thought-chain/index.js +1 -0
  315. package/lib/thought-chain/interface.js +1 -0
  316. package/lib/thought-chain/item.js +1 -0
  317. package/lib/thought-chain/style/index.js +1 -0
  318. package/lib/transition-collapse/TransitionCollapse.js +1 -0
  319. package/lib/transition-collapse/index.js +1 -0
  320. package/lib/transition-collapse/style/index.js +1 -0
  321. package/lib/type-utility.js +1 -0
  322. package/lib/use-x-agent/index.js +1 -0
  323. package/lib/use-x-agent/use-x-agent.js +1 -0
  324. package/lib/use-x-chat/index.js +1 -0
  325. package/lib/use-x-chat/use-x-chat.js +1 -0
  326. package/lib/use-x-chat/useSyncState.js +1 -0
  327. package/lib/vc-util/Dom/addEventListener.js +1 -0
  328. package/lib/vc-util/Dom/canUseDom.js +1 -0
  329. package/lib/vc-util/Dom/class.js +1 -0
  330. package/lib/vc-util/Dom/contains.js +1 -0
  331. package/lib/vc-util/Dom/css.js +1 -0
  332. package/lib/vc-util/Dom/dynamicCSS.js +1 -0
  333. package/lib/vc-util/Dom/isVisible.js +1 -0
  334. package/lib/vc-util/Dom/scrollLocker.js +1 -0
  335. package/lib/vc-util/devWarning.js +1 -0
  336. package/lib/vc-util/get.js +1 -0
  337. package/lib/vc-util/isEqual.js +1 -0
  338. package/lib/vc-util/isMobile.js +1 -0
  339. package/lib/vc-util/set.js +1 -0
  340. package/lib/vc-util/warning.js +1 -0
  341. package/lib/version/index.js +1 -0
  342. package/lib/version/token-meta.js +1 -0
  343. package/lib/version/token.js +1 -0
  344. package/lib/version/version.js +1 -0
  345. package/lib/welcome/Welcome.js +1 -0
  346. package/lib/welcome/index.js +1 -0
  347. package/lib/welcome/interface.js +1 -0
  348. package/lib/welcome/style/index.js +1 -0
  349. package/lib/x-provider/context.js +1 -0
  350. package/lib/x-provider/hooks/use-x-provider-context.js +1 -0
  351. package/lib/x-provider/index.js +1 -0
  352. package/lib/x-provider/index2.js +1 -0
  353. package/lib/x-request/index.js +1 -0
  354. package/lib/x-request/x-fetch.js +1 -0
  355. package/lib/x-request/x-request.js +1 -0
  356. package/lib/x-stream/index.js +1 -0
  357. package/lib/x-stream/x-stream.js +4 -0
  358. package/package.json +21 -13
  359. package/typings/bubble/Bubble.vue.d.ts +37 -0
  360. package/typings/bubble/index.d.ts +258 -0
  361. package/{dist/typings → typings}/bubble/interface.d.ts +6 -4
  362. package/{dist/typings → typings}/conversations/interface.d.ts +2 -1
  363. package/{dist/typings → typings}/sender/interface.d.ts +1 -1
  364. package/{dist/typings → typings}/x-provider/context.d.ts +9 -9
  365. package/dist/index.mjs +0 -34154
  366. package/dist/typings/bubble/Bubble.vue.d.ts +0 -35
  367. package/dist/typings/bubble/index.d.ts +0 -51
  368. /package/{dist/resolver → resolver-dist}/index.d.ts +0 -0
  369. /package/{dist/resolver → resolver-dist}/index.js +0 -0
  370. /package/{dist/typings → typings}/_util/cssinjs/Cache.d.ts +0 -0
  371. /package/{dist/typings → typings}/_util/cssinjs/Keyframes.d.ts +0 -0
  372. /package/{dist/typings → typings}/_util/cssinjs/StyleContext.d.ts +0 -0
  373. /package/{dist/typings → typings}/_util/cssinjs/hooks/useCSSVarRegister.d.ts +0 -0
  374. /package/{dist/typings → typings}/_util/cssinjs/hooks/useCacheToken.d.ts +0 -0
  375. /package/{dist/typings → typings}/_util/cssinjs/hooks/useGlobalCache.d.ts +0 -0
  376. /package/{dist/typings → typings}/_util/cssinjs/hooks/useHMR.d.ts +0 -0
  377. /package/{dist/typings → typings}/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +0 -0
  378. /package/{dist/typings → typings}/_util/cssinjs/hooks/useStyleRegister/index.d.ts +0 -0
  379. /package/{dist/typings → typings}/_util/cssinjs/index.d.ts +0 -0
  380. /package/{dist/typings → typings}/_util/cssinjs/linters/contentQuotesLinter.d.ts +0 -0
  381. /package/{dist/typings → typings}/_util/cssinjs/linters/hashedAnimationLinter.d.ts +0 -0
  382. /package/{dist/typings → typings}/_util/cssinjs/linters/index.d.ts +0 -0
  383. /package/{dist/typings → typings}/_util/cssinjs/linters/interface.d.ts +0 -0
  384. /package/{dist/typings → typings}/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +0 -0
  385. /package/{dist/typings → typings}/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +0 -0
  386. /package/{dist/typings → typings}/_util/cssinjs/linters/parentSelectorLinter.d.ts +0 -0
  387. /package/{dist/typings → typings}/_util/cssinjs/linters/utils.d.ts +0 -0
  388. /package/{dist/typings → typings}/_util/cssinjs/theme/Theme.d.ts +0 -0
  389. /package/{dist/typings → typings}/_util/cssinjs/theme/ThemeCache.d.ts +0 -0
  390. /package/{dist/typings → typings}/_util/cssinjs/theme/createTheme.d.ts +0 -0
  391. /package/{dist/typings → typings}/_util/cssinjs/theme/index.d.ts +0 -0
  392. /package/{dist/typings → typings}/_util/cssinjs/theme/interface.d.ts +0 -0
  393. /package/{dist/typings → typings}/_util/cssinjs/transformers/interface.d.ts +0 -0
  394. /package/{dist/typings → typings}/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +0 -0
  395. /package/{dist/typings → typings}/_util/cssinjs/transformers/px2rem.d.ts +0 -0
  396. /package/{dist/typings → typings}/_util/cssinjs/util.d.ts +0 -0
  397. /package/{dist/typings → typings}/_util/cssinjs-utils/_util/hooks/useUniqueMemo.d.ts +0 -0
  398. /package/{dist/typings → typings}/_util/cssinjs-utils/hooks/useCSP.d.ts +0 -0
  399. /package/{dist/typings → typings}/_util/cssinjs-utils/hooks/usePrefix.d.ts +0 -0
  400. /package/{dist/typings → typings}/_util/cssinjs-utils/hooks/useToken.d.ts +0 -0
  401. /package/{dist/typings → typings}/_util/cssinjs-utils/index.d.ts +0 -0
  402. /package/{dist/typings → typings}/_util/cssinjs-utils/interface/components.d.ts +0 -0
  403. /package/{dist/typings → typings}/_util/cssinjs-utils/interface/index.d.ts +0 -0
  404. /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/CSSCalculator.d.ts +0 -0
  405. /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/NumCalculator.d.ts +0 -0
  406. /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/calculator.d.ts +0 -0
  407. /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/index.d.ts +0 -0
  408. /package/{dist/typings → typings}/_util/cssinjs-utils/util/genStyleUtils.d.ts +0 -0
  409. /package/{dist/typings → typings}/_util/cssinjs-utils/util/getCompVarPrefix.d.ts +0 -0
  410. /package/{dist/typings → typings}/_util/cssinjs-utils/util/getComponentToken.d.ts +0 -0
  411. /package/{dist/typings → typings}/_util/cssinjs-utils/util/getDefaultComponentToken.d.ts +0 -0
  412. /package/{dist/typings → typings}/_util/cssinjs-utils/util/maxmin.d.ts +0 -0
  413. /package/{dist/typings → typings}/_util/cssinjs-utils/util/statistic.d.ts +0 -0
  414. /package/{dist/typings → typings}/_util/getValue.d.ts +0 -0
  415. /package/{dist/typings → typings}/_util/hooks/use-event-callback.d.ts +0 -0
  416. /package/{dist/typings → typings}/_util/hooks/use-state.d.ts +0 -0
  417. /package/{dist/typings → typings}/_util/hooks/use-x-component-config.d.ts +0 -0
  418. /package/{dist/typings → typings}/_util/hooks/useMergedState.d.ts +0 -0
  419. /package/{dist/typings → typings}/_util/pick-attrs.d.ts +0 -0
  420. /package/{dist/typings → typings}/_util/type.d.ts +0 -0
  421. /package/{dist/typings → typings}/_util/warning.d.ts +0 -0
  422. /package/{dist/typings → typings}/attachments/Attachments.vue.d.ts +0 -0
  423. /package/{dist/typings → typings}/attachments/DropArea.vue.d.ts +0 -0
  424. /package/{dist/typings → typings}/attachments/FileList/AudioIcon.vue.d.ts +0 -0
  425. /package/{dist/typings → typings}/attachments/FileList/FileList.vue.d.ts +0 -0
  426. /package/{dist/typings → typings}/attachments/FileList/FileListCard.vue.d.ts +0 -0
  427. /package/{dist/typings → typings}/attachments/FileList/VideoIcon.vue.d.ts +0 -0
  428. /package/{dist/typings → typings}/attachments/FileList/index.d.ts +0 -0
  429. /package/{dist/typings → typings}/attachments/PlaceholderUploader.vue.d.ts +0 -0
  430. /package/{dist/typings → typings}/attachments/SilentUploader.vue.d.ts +0 -0
  431. /package/{dist/typings → typings}/attachments/context.d.ts +0 -0
  432. /package/{dist/typings → typings}/attachments/index.d.ts +0 -0
  433. /package/{dist/typings → typings}/attachments/interface.d.ts +0 -0
  434. /package/{dist/typings → typings}/attachments/style/fileCard.d.ts +0 -0
  435. /package/{dist/typings → typings}/attachments/style/index.d.ts +0 -0
  436. /package/{dist/typings → typings}/attachments/util.d.ts +0 -0
  437. /package/{dist/typings → typings}/bubble/BubbleList.vue.d.ts +0 -0
  438. /package/{dist/typings → typings}/bubble/context.d.ts +0 -0
  439. /package/{dist/typings → typings}/bubble/hooks/useDisplayData.d.ts +0 -0
  440. /package/{dist/typings → typings}/bubble/hooks/useListData.d.ts +0 -0
  441. /package/{dist/typings → typings}/bubble/hooks/useTypedEffect.d.ts +0 -0
  442. /package/{dist/typings → typings}/bubble/hooks/useTypingConfig.d.ts +0 -0
  443. /package/{dist/typings → typings}/bubble/loading.vue.d.ts +0 -0
  444. /package/{dist/typings → typings}/bubble/style/content.d.ts +0 -0
  445. /package/{dist/typings → typings}/bubble/style/index.d.ts +0 -0
  446. /package/{dist/typings → typings}/bubble/style/list.d.ts +0 -0
  447. /package/{dist/typings → typings}/conversations/Conversations.vue.d.ts +0 -0
  448. /package/{dist/typings → typings}/conversations/ConversationsItem.vue.d.ts +0 -0
  449. /package/{dist/typings → typings}/conversations/GroupTitle.vue.d.ts +0 -0
  450. /package/{dist/typings → typings}/conversations/context.d.ts +0 -0
  451. /package/{dist/typings → typings}/conversations/hooks/useGroupable.d.ts +0 -0
  452. /package/{dist/typings → typings}/conversations/index.d.ts +0 -0
  453. /package/{dist/typings → typings}/conversations/style/index.d.ts +0 -0
  454. /package/{dist/typings → typings}/index.d.ts +0 -0
  455. /package/{dist/typings → typings}/prompts/Prompts.vue.d.ts +0 -0
  456. /package/{dist/typings → typings}/prompts/index.d.ts +0 -0
  457. /package/{dist/typings → typings}/prompts/interface.d.ts +0 -0
  458. /package/{dist/typings → typings}/prompts/style/index.d.ts +0 -0
  459. /package/{dist/typings → typings}/sender/Sender.vue.d.ts +0 -0
  460. /package/{dist/typings → typings}/sender/SenderHeader.vue.d.ts +0 -0
  461. /package/{dist/typings → typings}/sender/StopLoading.vue.d.ts +0 -0
  462. /package/{dist/typings → typings}/sender/components/ActionButton/context.d.ts +0 -0
  463. /package/{dist/typings → typings}/sender/components/ActionButton/index.vue.d.ts +0 -0
  464. /package/{dist/typings → typings}/sender/components/ClearButton.vue.d.ts +0 -0
  465. /package/{dist/typings → typings}/sender/components/LoadingButton.vue.d.ts +0 -0
  466. /package/{dist/typings → typings}/sender/components/SendButton.vue.d.ts +0 -0
  467. /package/{dist/typings → typings}/sender/components/SpeechButton/RecordingIcon.vue.d.ts +0 -0
  468. /package/{dist/typings → typings}/sender/components/SpeechButton/index.vue.d.ts +0 -0
  469. /package/{dist/typings → typings}/sender/context.d.ts +0 -0
  470. /package/{dist/typings → typings}/sender/index.d.ts +0 -0
  471. /package/{dist/typings → typings}/sender/style/header.d.ts +0 -0
  472. /package/{dist/typings → typings}/sender/style/index.d.ts +0 -0
  473. /package/{dist/typings → typings}/sender/useSpeech.d.ts +0 -0
  474. /package/{dist/typings → typings}/suggestion/Suggestion.vue.d.ts +0 -0
  475. /package/{dist/typings → typings}/suggestion/index.d.ts +0 -0
  476. /package/{dist/typings → typings}/suggestion/interface.d.ts +0 -0
  477. /package/{dist/typings → typings}/suggestion/style/index.d.ts +0 -0
  478. /package/{dist/typings → typings}/suggestion/useActive.d.ts +0 -0
  479. /package/{dist/typings → typings}/theme/components.d.ts +0 -0
  480. /package/{dist/typings → typings}/theme/cssinjs-utils.d.ts +0 -0
  481. /package/{dist/typings → typings}/theme/genStyleUtils.d.ts +0 -0
  482. /package/{dist/typings → typings}/theme/index.d.ts +0 -0
  483. /package/{dist/typings → typings}/theme/patch-antd.d.ts +0 -0
  484. /package/{dist/typings → typings}/theme/useToken.d.ts +0 -0
  485. /package/{dist/typings → typings}/thought-chain/ThoughtChain.vue.d.ts +0 -0
  486. /package/{dist/typings → typings}/thought-chain/context.d.ts +0 -0
  487. /package/{dist/typings → typings}/thought-chain/hooks/useCollapsible.d.ts +0 -0
  488. /package/{dist/typings → typings}/thought-chain/index.d.ts +0 -0
  489. /package/{dist/typings → typings}/thought-chain/interface.d.ts +0 -0
  490. /package/{dist/typings → typings}/thought-chain/item.vue.d.ts +0 -0
  491. /package/{dist/typings → typings}/thought-chain/style/index.d.ts +0 -0
  492. /package/{dist/typings → typings}/transition-collapse/TransitionCollapse.vue.d.ts +0 -0
  493. /package/{dist/typings → typings}/transition-collapse/index.d.ts +0 -0
  494. /package/{dist/typings → typings}/transition-collapse/style/index.d.ts +0 -0
  495. /package/{dist/typings → typings}/type-utility.d.ts +0 -0
  496. /package/{dist/typings → typings}/use-x-agent/index.d.ts +0 -0
  497. /package/{dist/typings → typings}/use-x-agent/use-x-agent.d.ts +0 -0
  498. /package/{dist/typings → typings}/use-x-chat/index.d.ts +0 -0
  499. /package/{dist/typings → typings}/use-x-chat/use-x-chat.d.ts +0 -0
  500. /package/{dist/typings → typings}/use-x-chat/useSyncState.d.ts +0 -0
  501. /package/{dist/typings → typings}/vc-util/Dom/canUseDom.d.ts +0 -0
  502. /package/{dist/typings → typings}/vc-util/Dom/contains.d.ts +0 -0
  503. /package/{dist/typings → typings}/vc-util/Dom/dynamicCSS.d.ts +0 -0
  504. /package/{dist/typings → typings}/vc-util/warning.d.ts +0 -0
  505. /package/{dist/typings → typings}/version/index.d.ts +0 -0
  506. /package/{dist/typings → typings}/version/version.d.ts +0 -0
  507. /package/{dist/typings → typings}/welcome/Welcome.vue.d.ts +0 -0
  508. /package/{dist/typings → typings}/welcome/index.d.ts +0 -0
  509. /package/{dist/typings → typings}/welcome/interface.d.ts +0 -0
  510. /package/{dist/typings → typings}/welcome/style/index.d.ts +0 -0
  511. /package/{dist/typings → typings}/x-provider/hooks/use-x-provider-context.d.ts +0 -0
  512. /package/{dist/typings → typings}/x-provider/index.d.ts +0 -0
  513. /package/{dist/typings → typings}/x-provider/index.vue.d.ts +0 -0
  514. /package/{dist/typings → typings}/x-request/index.d.ts +0 -0
  515. /package/{dist/typings → typings}/x-request/x-fetch.d.ts +0 -0
  516. /package/{dist/typings → typings}/x-request/x-request.d.ts +0 -0
  517. /package/{dist/typings → typings}/x-stream/index.d.ts +0 -0
  518. /package/{dist/typings → typings}/x-stream/x-stream.d.ts +0 -0
@@ -0,0 +1,86 @@
1
+ const i = /margin|padding|width|height|max|min|offset/, l = {
2
+ left: !0,
3
+ top: !0
4
+ }, r = {
5
+ cssFloat: 1,
6
+ styleFloat: 1,
7
+ float: 1
8
+ };
9
+ function u(e) {
10
+ return e.nodeType === 1 ? e.ownerDocument.defaultView.getComputedStyle(e, null) : {};
11
+ }
12
+ function s(e, t, o) {
13
+ if (t = t.toLowerCase(), o === "auto") {
14
+ if (t === "height")
15
+ return e.offsetHeight;
16
+ if (t === "width")
17
+ return e.offsetWidth;
18
+ }
19
+ return t in l || (l[t] = i.test(t)), l[t] ? parseFloat(o) || 0 : o;
20
+ }
21
+ function f(e, t) {
22
+ const o = arguments.length, n = u(e);
23
+ return t = r[t] ? "cssFloat" in e.style ? "cssFloat" : "styleFloat" : t, o === 1 ? n : s(e, t, n[t] || e.style[t]);
24
+ }
25
+ function d(e, t, o) {
26
+ const n = arguments.length;
27
+ if (t = r[t] ? "cssFloat" in e.style ? "cssFloat" : "styleFloat" : t, n === 3)
28
+ return typeof o == "number" && i.test(t) && (o = `${o}px`), e.style[t] = o, o;
29
+ for (const c in t)
30
+ t.hasOwnProperty(c) && d(e, c, t[c]);
31
+ return u(e);
32
+ }
33
+ function m(e) {
34
+ return e === document.body ? document.documentElement.clientWidth : e.offsetWidth;
35
+ }
36
+ function h(e) {
37
+ return e === document.body ? window.innerHeight || document.documentElement.clientHeight : e.offsetHeight;
38
+ }
39
+ function g() {
40
+ const e = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth), t = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);
41
+ return {
42
+ width: e,
43
+ height: t
44
+ };
45
+ }
46
+ function y() {
47
+ const e = document.documentElement.clientWidth, t = window.innerHeight || document.documentElement.clientHeight;
48
+ return {
49
+ width: e,
50
+ height: t
51
+ };
52
+ }
53
+ function p() {
54
+ return {
55
+ scrollLeft: Math.max(document.documentElement.scrollLeft, document.body.scrollLeft),
56
+ scrollTop: Math.max(document.documentElement.scrollTop, document.body.scrollTop)
57
+ };
58
+ }
59
+ function w(e) {
60
+ const t = e.getBoundingClientRect(), o = document.documentElement;
61
+ return {
62
+ left: t.left + (window.scrollX || o.scrollLeft) - (o.clientLeft || document.body.clientLeft || 0),
63
+ top: t.top + (window.scrollY || o.scrollTop) - (o.clientTop || document.body.clientTop || 0)
64
+ };
65
+ }
66
+ function a(e) {
67
+ return Array.prototype.slice.apply(e).map((o) => `${o}: ${e.getPropertyValue(o)};`).join("");
68
+ }
69
+ function b(e) {
70
+ return Object.keys(e).reduce((t, o) => {
71
+ const n = e[o];
72
+ return typeof n > "u" || n === null || (t += `${o}: ${e[o]};`), t;
73
+ }, "");
74
+ }
75
+ export {
76
+ f as get,
77
+ y as getClientSize,
78
+ g as getDocSize,
79
+ w as getOffset,
80
+ h as getOuterHeight,
81
+ m as getOuterWidth,
82
+ p as getScroll,
83
+ d as set,
84
+ b as styleObjectToString,
85
+ a as styleToString
86
+ };
@@ -0,0 +1,70 @@
1
+ import S from "./canUseDom.mjs";
2
+ import g from "./contains.mjs";
3
+ const s = "data-vc-order", y = "vc-util-key", d = /* @__PURE__ */ new Map();
4
+ function l({ mark: e } = {}) {
5
+ return e ? e.startsWith("data-") ? e : `data-${e}` : y;
6
+ }
7
+ function f(e) {
8
+ return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
9
+ }
10
+ function p(e) {
11
+ return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
12
+ }
13
+ function h(e) {
14
+ return Array.from((d.get(e) || e).children).filter(
15
+ (r) => r.tagName === "STYLE"
16
+ );
17
+ }
18
+ function C(e, r = {}) {
19
+ if (!S())
20
+ return null;
21
+ const { csp: n, prepend: c } = r, t = document.createElement("style");
22
+ t.setAttribute(s, p(c)), n != null && n.nonce && (t.nonce = n == null ? void 0 : n.nonce), t.innerHTML = e;
23
+ const i = f(r), { firstChild: u } = i;
24
+ if (c) {
25
+ if (c === "queue") {
26
+ const o = h(i).filter(
27
+ (a) => ["prepend", "prependQueue"].includes(a.getAttribute(s))
28
+ );
29
+ if (o.length)
30
+ return i.insertBefore(t, o[o.length - 1].nextSibling), t;
31
+ }
32
+ i.insertBefore(t, u);
33
+ } else
34
+ i.appendChild(t);
35
+ return t;
36
+ }
37
+ function m(e, r = {}) {
38
+ const n = f(r);
39
+ return h(n).find((c) => c.getAttribute(l(r)) === e);
40
+ }
41
+ function x(e, r = {}) {
42
+ const n = m(e, r);
43
+ n && f(r).removeChild(n);
44
+ }
45
+ function N(e, r) {
46
+ const n = d.get(e);
47
+ if (!n || !g(document, n)) {
48
+ const c = C("", r), { parentNode: t } = c;
49
+ d.set(e, t), e.removeChild(c);
50
+ }
51
+ }
52
+ function E() {
53
+ d.clear();
54
+ }
55
+ function M(e, r, n = {}) {
56
+ var u, o, a;
57
+ const c = f(n);
58
+ N(c, n);
59
+ const t = m(r, n);
60
+ if (t)
61
+ return (u = n.csp) != null && u.nonce && t.nonce !== ((o = n.csp) == null ? void 0 : o.nonce) && (t.nonce = (a = n.csp) == null ? void 0 : a.nonce), t.innerHTML !== e && (t.innerHTML = e), t;
62
+ const i = C(e, n);
63
+ return i.setAttribute(l(n), r), i;
64
+ }
65
+ export {
66
+ E as clearContainerCache,
67
+ C as injectCSS,
68
+ x as removeCSS,
69
+ M as updateCSS
70
+ };
@@ -0,0 +1,20 @@
1
+ const r = (t) => {
2
+ if (!t)
3
+ return !1;
4
+ if (t.offsetParent)
5
+ return !0;
6
+ if (t.getBBox) {
7
+ const i = t.getBBox();
8
+ if (i.width || i.height)
9
+ return !0;
10
+ }
11
+ if (t.getBoundingClientRect) {
12
+ const i = t.getBoundingClientRect();
13
+ if (i.width || i.height)
14
+ return !0;
15
+ }
16
+ return !1;
17
+ };
18
+ export {
19
+ r as default
20
+ };
@@ -0,0 +1,66 @@
1
+ import f from "../../_util/getScrollBarSize.mjs";
2
+ import a from "../../_util/setStyle.mjs";
3
+ let n = [];
4
+ const h = "ant-scrolling-effect", r = new RegExp(`${h}`, "g");
5
+ let m = 0;
6
+ const l = /* @__PURE__ */ new Map();
7
+ class N {
8
+ constructor(d) {
9
+ this.getContainer = () => {
10
+ var i;
11
+ return (i = this.options) == null ? void 0 : i.container;
12
+ }, this.reLock = (i) => {
13
+ const e = n.find(({ target: c }) => c === this.lockTarget);
14
+ e && this.unLock(), this.options = i, e && (e.options = i, this.lock());
15
+ }, this.lock = () => {
16
+ var s;
17
+ if (n.some(({ target: t }) => t === this.lockTarget))
18
+ return;
19
+ if (n.some(({ options: t }) => {
20
+ var o;
21
+ return (t == null ? void 0 : t.container) === ((o = this.options) == null ? void 0 : o.container);
22
+ })) {
23
+ n = [...n, { target: this.lockTarget, options: this.options }];
24
+ return;
25
+ }
26
+ let i = 0;
27
+ const e = ((s = this.options) == null ? void 0 : s.container) || document.body;
28
+ (e === document.body && window.innerWidth - document.documentElement.clientWidth > 0 || e.scrollHeight > e.clientHeight) && (i = f());
29
+ const c = e.className;
30
+ if (n.filter(({ options: t }) => {
31
+ var o;
32
+ return (t == null ? void 0 : t.container) === ((o = this.options) == null ? void 0 : o.container);
33
+ }).length === 0 && l.set(
34
+ e,
35
+ a(
36
+ {
37
+ width: i !== 0 ? `calc(100% - ${i}px)` : void 0,
38
+ overflow: "hidden",
39
+ overflowX: "hidden",
40
+ overflowY: "hidden"
41
+ },
42
+ {
43
+ element: e
44
+ }
45
+ )
46
+ ), !r.test(c)) {
47
+ const t = `${c} ${h}`;
48
+ e.className = t.trim();
49
+ }
50
+ n = [...n, { target: this.lockTarget, options: this.options }];
51
+ }, this.unLock = () => {
52
+ var s;
53
+ const i = n.find(({ target: t }) => t === this.lockTarget);
54
+ if (n = n.filter(({ target: t }) => t !== this.lockTarget), !i || n.some(({ options: t }) => {
55
+ var o;
56
+ return (t == null ? void 0 : t.container) === ((o = i.options) == null ? void 0 : o.container);
57
+ }))
58
+ return;
59
+ const e = ((s = this.options) == null ? void 0 : s.container) || document.body, c = e.className;
60
+ r.test(c) && (a(l.get(e), { element: e }), l.delete(e), e.className = e.className.replace(r, "").trim());
61
+ }, this.lockTarget = m++, this.options = d;
62
+ }
63
+ }
64
+ export {
65
+ N as default
66
+ };
@@ -0,0 +1,9 @@
1
+ import { warningOnce as t } from "./warning.mjs";
2
+ import { resetWarned as s } from "./warning.mjs";
3
+ const o = (e, n, r) => {
4
+ t(e, `[ant-design-vue: ${n}] ${r}`);
5
+ };
6
+ export {
7
+ o as default,
8
+ s as resetWarned
9
+ };
@@ -0,0 +1,12 @@
1
+ function l(n, r) {
2
+ let e = n;
3
+ for (let t = 0; t < r.length; t += 1) {
4
+ if (e == null)
5
+ return;
6
+ e = e[r[t]];
7
+ }
8
+ return e;
9
+ }
10
+ export {
11
+ l as default
12
+ };
@@ -0,0 +1,32 @@
1
+ import { warningOnce as y } from "./warning.mjs";
2
+ function h(c, o, a = !1) {
3
+ const f = /* @__PURE__ */ new Set();
4
+ function n(e, r, s = 1) {
5
+ const i = f.has(e);
6
+ if (y(!i, "Warning: There may be circular references"), i)
7
+ return !1;
8
+ if (e === r)
9
+ return !0;
10
+ if (a && s > 1)
11
+ return !1;
12
+ f.add(e);
13
+ const u = s + 1;
14
+ if (Array.isArray(e)) {
15
+ if (!Array.isArray(r) || e.length !== r.length)
16
+ return !1;
17
+ for (let t = 0; t < e.length; t++)
18
+ if (!n(e[t], r[t], u))
19
+ return !1;
20
+ return !0;
21
+ }
22
+ if (e && r && typeof e == "object" && typeof r == "object") {
23
+ const t = Object.keys(e);
24
+ return t.length !== Object.keys(r).length ? !1 : t.every((l) => n(e[l], r[l], u));
25
+ }
26
+ return !1;
27
+ }
28
+ return n(c, o);
29
+ }
30
+ export {
31
+ h as default
32
+ };
@@ -0,0 +1,13 @@
1
+ const o = () => {
2
+ if (typeof navigator > "u" || typeof window > "u")
3
+ return !1;
4
+ const i = navigator.userAgent || navigator.vendor || window.opera;
5
+ return /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(
6
+ i
7
+ ) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(
8
+ i == null ? void 0 : i.substring(0, 4)
9
+ );
10
+ };
11
+ export {
12
+ o as default
13
+ };
@@ -0,0 +1,14 @@
1
+ import i from "./get.mjs";
2
+ function s(r, l, t, o) {
3
+ if (!l.length)
4
+ return t;
5
+ const [f, ...n] = l;
6
+ let e;
7
+ return !r && typeof f == "number" ? e = [] : Array.isArray(r) ? e = [...r] : e = { ...r }, o && t === void 0 && n.length === 1 ? delete e[f][n[0]] : e[f] = s(e[f], n, t, o), e;
8
+ }
9
+ function u(r, l, t, o = !1) {
10
+ return l.length && o && t === void 0 && !i(r, l.slice(0, -1)) ? r : s(r, l, t, o);
11
+ }
12
+ export {
13
+ u as default
14
+ };
@@ -0,0 +1,26 @@
1
+ let i = {};
2
+ function c(n, e) {
3
+ }
4
+ function f(n, e) {
5
+ }
6
+ function o() {
7
+ i = {};
8
+ }
9
+ function a(n, e, t) {
10
+ !e && !i[t] && (n(!1, t), i[t] = !0);
11
+ }
12
+ function u(n, e) {
13
+ a(c, n, e);
14
+ }
15
+ function l(n, e) {
16
+ a(f, n, e);
17
+ }
18
+ export {
19
+ a as call,
20
+ u as default,
21
+ f as note,
22
+ l as noteOnce,
23
+ o as resetWarned,
24
+ c as warning,
25
+ u as warningOnce
26
+ };
@@ -0,0 +1,4 @@
1
+ import r from "./version.mjs";
2
+ export {
3
+ r as default
4
+ };
@@ -0,0 +1,7 @@
1
+ const e = { Attachments: [{ source: "Attachments", token: "colorBgPlaceholderHover", type: "string", desc: "", descEn: "", name: "", nameEn: "" }], Bubble: [], Conversations: [], Prompts: [], Sender: [], Suggestion: [], ThoughtChain: [], Welcome: [] }, t = {
2
+ components: e
3
+ };
4
+ export {
5
+ e as components,
6
+ t as default
7
+ };
@@ -0,0 +1,21 @@
1
+ const o = { global: ["fontSizeHeading3", "lineHeightHeading3", "fontSize", "lineHeight", "padding", "paddingXXS", "paddingXS", "paddingSM", "colorFillContent", "borderRadiusLG"], component: {} }, e = { global: ["fontSizeSM", "controlHeightXS", "controlHeightSM", "marginSM", "fontSize", "controlHeight", "margin", "fontSizeLG", "controlHeightLG", "marginLG", "colorPrimaryText", "colorSuccessText", "colorErrorText", "blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "gold", "lime", "colorPrimary", "colorSuccess", "colorWarning", "colorError", "colorInfo", "colorLink", "colorTextBase", "colorBgBase", "fontFamily", "fontFamilyCode", "lineWidth", "lineType", "motionUnit", "motionBase", "motionEaseOutCirc", "motionEaseInOutCirc", "motionEaseOut", "motionEaseInOut", "motionEaseOutBack", "motionEaseInBack", "motionEaseInQuint", "motionEaseOutQuint", "borderRadius", "sizeUnit", "sizeStep", "sizePopupArrow", "zIndexBase", "zIndexPopupBase", "opacityImage", "wireframe", "motion", "blue-1", "blue1", "blue-2", "blue2", "blue-3", "blue3", "blue-4", "blue4", "blue-5", "blue5", "blue-6", "blue6", "blue-7", "blue7", "blue-8", "blue8", "blue-9", "blue9", "blue-10", "blue10", "purple-1", "purple1", "purple-2", "purple2", "purple-3", "purple3", "purple-4", "purple4", "purple-5", "purple5", "purple-6", "purple6", "purple-7", "purple7", "purple-8", "purple8", "purple-9", "purple9", "purple-10", "purple10", "cyan-1", "cyan1", "cyan-2", "cyan2", "cyan-3", "cyan3", "cyan-4", "cyan4", "cyan-5", "cyan5", "cyan-6", "cyan6", "cyan-7", "cyan7", "cyan-8", "cyan8", "cyan-9", "cyan9", "cyan-10", "cyan10", "green-1", "green1", "green-2", "green2", "green-3", "green3", "green-4", "green4", "green-5", "green5", "green-6", "green6", "green-7", "green7", "green-8", "green8", "green-9", "green9", "green-10", "green10", "magenta-1", "magenta1", "magenta-2", "magenta2", "magenta-3", "magenta3", "magenta-4", "magenta4", "magenta-5", "magenta5", "magenta-6", "magenta6", "magenta-7", "magenta7", "magenta-8", "magenta8", "magenta-9", "magenta9", "magenta-10", "magenta10", "pink-1", "pink1", "pink-2", "pink2", "pink-3", "pink3", "pink-4", "pink4", "pink-5", "pink5", "pink-6", "pink6", "pink-7", "pink7", "pink-8", "pink8", "pink-9", "pink9", "pink-10", "pink10", "red-1", "red1", "red-2", "red2", "red-3", "red3", "red-4", "red4", "red-5", "red5", "red-6", "red6", "red-7", "red7", "red-8", "red8", "red-9", "red9", "red-10", "red10", "orange-1", "orange1", "orange-2", "orange2", "orange-3", "orange3", "orange-4", "orange4", "orange-5", "orange5", "orange-6", "orange6", "orange-7", "orange7", "orange-8", "orange8", "orange-9", "orange9", "orange-10", "orange10", "yellow-1", "yellow1", "yellow-2", "yellow2", "yellow-3", "yellow3", "yellow-4", "yellow4", "yellow-5", "yellow5", "yellow-6", "yellow6", "yellow-7", "yellow7", "yellow-8", "yellow8", "yellow-9", "yellow9", "yellow-10", "yellow10", "volcano-1", "volcano1", "volcano-2", "volcano2", "volcano-3", "volcano3", "volcano-4", "volcano4", "volcano-5", "volcano5", "volcano-6", "volcano6", "volcano-7", "volcano7", "volcano-8", "volcano8", "volcano-9", "volcano9", "volcano-10", "volcano10", "geekblue-1", "geekblue1", "geekblue-2", "geekblue2", "geekblue-3", "geekblue3", "geekblue-4", "geekblue4", "geekblue-5", "geekblue5", "geekblue-6", "geekblue6", "geekblue-7", "geekblue7", "geekblue-8", "geekblue8", "geekblue-9", "geekblue9", "geekblue-10", "geekblue10", "gold-1", "gold1", "gold-2", "gold2", "gold-3", "gold3", "gold-4", "gold4", "gold-5", "gold5", "gold-6", "gold6", "gold-7", "gold7", "gold-8", "gold8", "gold-9", "gold9", "gold-10", "gold10", "lime-1", "lime1", "lime-2", "lime2", "lime-3", "lime3", "lime-4", "lime4", "lime-5", "lime5", "lime-6", "lime6", "lime-7", "lime7", "lime-8", "lime8", "lime-9", "lime9", "lime-10", "lime10", "colorText", "colorTextSecondary", "colorTextTertiary", "colorTextQuaternary", "colorFill", "colorFillSecondary", "colorFillTertiary", "colorFillQuaternary", "colorBgSolid", "colorBgSolidHover", "colorBgSolidActive", "colorBgLayout", "colorBgContainer", "colorBgElevated", "colorBgSpotlight", "colorBgBlur", "colorBorder", "colorBorderSecondary", "colorPrimaryBg", "colorPrimaryBgHover", "colorPrimaryBorder", "colorPrimaryBorderHover", "colorPrimaryHover", "colorPrimaryActive", "colorPrimaryTextHover", "colorPrimaryTextActive", "colorSuccessBg", "colorSuccessBgHover", "colorSuccessBorder", "colorSuccessBorderHover", "colorSuccessHover", "colorSuccessActive", "colorSuccessTextHover", "colorSuccessTextActive", "colorErrorBg", "colorErrorBgHover", "colorErrorBgFilledHover", "colorErrorBgActive", "colorErrorBorder", "colorErrorBorderHover", "colorErrorHover", "colorErrorActive", "colorErrorTextHover", "colorErrorTextActive", "colorWarningBg", "colorWarningBgHover", "colorWarningBorder", "colorWarningBorderHover", "colorWarningHover", "colorWarningActive", "colorWarningTextHover", "colorWarningText", "colorWarningTextActive", "colorInfoBg", "colorInfoBgHover", "colorInfoBorder", "colorInfoBorderHover", "colorInfoHover", "colorInfoActive", "colorInfoTextHover", "colorInfoText", "colorInfoTextActive", "colorLinkHover", "colorLinkActive", "colorBgMask", "colorWhite", "fontSizeXL", "fontSizeHeading1", "fontSizeHeading2", "fontSizeHeading3", "fontSizeHeading4", "fontSizeHeading5", "lineHeight", "lineHeightLG", "lineHeightSM", "fontHeight", "fontHeightLG", "fontHeightSM", "lineHeightHeading1", "lineHeightHeading2", "lineHeightHeading3", "lineHeightHeading4", "lineHeightHeading5", "sizeXXL", "sizeXL", "sizeLG", "sizeMD", "sizeMS", "size", "sizeSM", "sizeXS", "sizeXXS", "motionDurationFast", "motionDurationMid", "motionDurationSlow", "lineWidthBold", "borderRadiusXS", "borderRadiusSM", "borderRadiusLG", "borderRadiusOuter", "colorFillContent", "colorFillContentHover", "colorFillAlter", "colorBgContainerDisabled", "colorBorderBg", "colorSplit", "colorTextPlaceholder", "colorTextDisabled", "colorTextHeading", "colorTextLabel", "colorTextDescription", "colorTextLightSolid", "colorHighlight", "colorBgTextHover", "colorBgTextActive", "colorIcon", "colorIconHover", "colorErrorOutline", "colorWarningOutline", "fontSizeIcon", "lineWidthFocus", "controlOutlineWidth", "controlInteractiveSize", "controlItemBgHover", "controlItemBgActive", "controlItemBgActiveHover", "controlItemBgActiveDisabled", "controlTmpOutline", "controlOutline", "fontWeightStrong", "opacityLoading", "linkDecoration", "linkHoverDecoration", "linkFocusDecoration", "controlPaddingHorizontal", "controlPaddingHorizontalSM", "paddingXXS", "paddingXS", "paddingSM", "padding", "paddingMD", "paddingLG", "paddingXL", "paddingContentHorizontalLG", "paddingContentVerticalLG", "paddingContentHorizontal", "paddingContentVertical", "paddingContentHorizontalSM", "paddingContentVerticalSM", "marginXXS", "marginXS", "marginMD", "marginXL", "marginXXL", "boxShadow", "boxShadowSecondary", "boxShadowTertiary", "screenXS", "screenXSMin", "screenXSMax", "screenSM", "screenSMMin", "screenSMMax", "screenMD", "screenMDMin", "screenMDMax", "screenLG", "screenLGMin", "screenLGMax", "screenXL", "screenXLMin", "screenXLMax", "screenXXL", "screenXXLMin", "boxShadowPopoverArrow", "boxShadowCard", "boxShadowDrawerRight", "boxShadowDrawerLeft", "boxShadowDrawerUp", "boxShadowDrawerDown", "boxShadowTabsOverflowLeft", "boxShadowTabsOverflowRight", "boxShadowTabsOverflowTop", "boxShadowTabsOverflowBottom", "_tokenKey", "_themeKey", "_hashId"], component: {} }, r = { global: ["paddingXXS", "padding"], component: {} }, n = { global: ["paddingXS", "padding", "paddingSM", "lineWidth", "lineWidthBold", "boxShadowTertiary", "motionDurationSlow", "borderRadius", "colorBorder", "boxShadowSecondary", "colorPrimary", "colorBgContainerDisabled", "controlHeight", "colorFillAlter", "fontSize", "lineHeight"], component: {} }, l = { global: ["colorTextTertiary", "paddingSM", "paddingXS", "padding", "colorBgContainer", "borderRadiusLG", "motionDurationSlow", "lineWidth", "lineType", "colorBorderSecondary", "colorFillTertiary", "colorFill", "paddingXXS", "fontSize", "lineHeight", "colorTextHeading", "colorBgContainerDisabled", "fontSizeLG", "lineHeightLG", "colorFillQuaternary"], component: {} }, i = { global: ["paddingXXS", "paddingSM", "paddingXL", "colorTextDescription", "controlHeightLG", "paddingXS", "borderRadiusLG", "motionDurationMid", "motionEaseInOut", "colorBgTextHover", "colorText", "colorTextDisabled", "fontSizeXL"], component: {} }, a = { global: ["fontSize", "lineHeight", "paddingSM", "colorText", "paddingXXS", "marginXS", "colorPrimary", "padding", "borderRadiusLG", "colorFillContent", "colorBorderSecondary", "boxShadowTertiary", "borderRadiusXS"], component: {} }, t = { global: ["zIndexPopupBase", "borderRadius", "lineWidthBold", "padding", "colorPrimaryHover", "paddingXXS", "fontSizeHeading2", "fontSize", "lineHeight", "paddingSM", "colorText", "colorBgContainer", "motionDurationSlow", "boxShadowTertiary", "colorFillContent", "lineWidth", "paddingXS", "fontSizeLG", "colorTextTertiary", "opacityLoading", "colorError"], component: { colorBgPlaceholderHover: "rgba(255,255,255,0.85)" } }, c = {
2
+ Welcome: o,
3
+ ThoughtChain: e,
4
+ Suggestion: r,
5
+ Sender: n,
6
+ Prompts: l,
7
+ Conversations: i,
8
+ Bubble: a,
9
+ Attachments: t
10
+ };
11
+ export {
12
+ t as Attachments,
13
+ a as Bubble,
14
+ i as Conversations,
15
+ l as Prompts,
16
+ n as Sender,
17
+ r as Suggestion,
18
+ e as ThoughtChain,
19
+ o as Welcome,
20
+ c as default
21
+ };
@@ -0,0 +1,4 @@
1
+ const e = "1.0.3";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,91 @@
1
+ import { defineComponent as $, mergeDefaults as S, toRef as h, useSlots as w, computed as c, createVNode as a, isVNode as V } from "vue";
2
+ import { c as i } from "../attachments/Attachments2.mjs";
3
+ import b from "../x-provider/hooks/use-x-provider-context.mjs";
4
+ import "../x-provider/context.mjs";
5
+ import { Typography as f, Flex as r } from "ant-design-vue";
6
+ import j from "../_util/hooks/use-x-component-config.mjs";
7
+ import p from "./style/index.mjs";
8
+ function T(e) {
9
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !V(e);
10
+ }
11
+ const F = /* @__PURE__ */ $({
12
+ name: "AXWelcome",
13
+ __name: "Welcome",
14
+ props: S({
15
+ prefixCls: null,
16
+ rootClassName: null,
17
+ className: null,
18
+ style: null,
19
+ variant: null,
20
+ classNames: null,
21
+ styles: null,
22
+ icon: null,
23
+ title: null,
24
+ description: null,
25
+ extra: null
26
+ }, {
27
+ variant: "filled",
28
+ classNames: () => ({}),
29
+ styles: () => ({})
30
+ }),
31
+ setup(e) {
32
+ h(e, "prefixCls");
33
+ const s = w(), {
34
+ direction: d,
35
+ getPrefixCls: x
36
+ } = b(), l = x("welcome", e.prefixCls), n = j("welcome"), [v, N, y] = p(l), C = c(() => {
37
+ const t = s.icon ? s.icon() : e.icon;
38
+ if (!t)
39
+ return null;
40
+ let m = t;
41
+ return typeof t == "string" && t.startsWith("http") && (m = a("img", {
42
+ src: t,
43
+ alt: "icon"
44
+ }, null)), a("div", {
45
+ class: i(`${l}-icon`, n.value.classNames.icon, e.classNames.icon),
46
+ style: e.styles.icon
47
+ }, [m]);
48
+ }), o = c(() => {
49
+ const t = s.title ? s.title() : e.title;
50
+ return t ? a(f.Title, {
51
+ level: 4,
52
+ class: i(`${l}-title`, n.value.classNames.title, e.classNames.title),
53
+ style: e.styles.title
54
+ }, T(t) ? t : {
55
+ default: () => [t]
56
+ }) : null;
57
+ }), u = c(() => s.description ? s.description() : e.description), g = c(() => {
58
+ const t = s.extra ? s.extra() : e.extra;
59
+ return t ? a("div", {
60
+ class: i(`${l}-extra`, n.value.classNames.extra, e.classNames.extra),
61
+ style: e.styles.extra
62
+ }, [t]) : null;
63
+ });
64
+ return () => v(a(r, {
65
+ class: i(l, n.value.className, e.className, e.rootClassName, N.value, y, `${l}-${e.variant}`, {
66
+ [`${l}-rtl`]: d.value === "rtl"
67
+ }),
68
+ style: e.style
69
+ }, {
70
+ default: () => [C.value, a(r, {
71
+ vertical: !0,
72
+ class: `${l}-content-wrapper`
73
+ }, {
74
+ default: () => [s.extra || e.extra ? a(r, {
75
+ align: "flex-start",
76
+ class: `${l}-title-wrapper`
77
+ }, {
78
+ default: () => [o.value, g.value]
79
+ }) : o.value, u.value && a(f.Text, {
80
+ class: i(`${l}-description`, n.value.classNames.description, e.classNames.description),
81
+ style: e.styles.description
82
+ }, {
83
+ default: () => [u.value]
84
+ })]
85
+ })]
86
+ }));
87
+ }
88
+ });
89
+ export {
90
+ F as default
91
+ };
@@ -0,0 +1,5 @@
1
+ import e from "./Welcome.mjs";
2
+ export {
3
+ e as Welcome,
4
+ e as default
5
+ };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,69 @@
1
+ import "vue";
2
+ import "../../_util/cssinjs/StyleContext.mjs";
3
+ import "../../_util/cssinjs/theme/ThemeCache.mjs";
4
+ import "../../_util/warning.mjs";
5
+ import "../../_util/cssinjs/transformers/legacyLogicalProperties.mjs";
6
+ import { merge as r } from "../../_util/cssinjs-utils/util/statistic.mjs";
7
+ import { genStyleHooks as d } from "../../theme/genStyleUtils.mjs";
8
+ const l = (e) => {
9
+ const { componentCls: i, calc: t } = e, n = t(e.fontSizeHeading3).mul(e.lineHeightHeading3).equal(), a = t(e.fontSize).mul(e.lineHeight).equal();
10
+ return {
11
+ [i]: {
12
+ gap: e.padding,
13
+ // ======================== Icon ========================
14
+ [`${i}-icon`]: {
15
+ height: t(n).add(a).add(e.paddingXXS).equal(),
16
+ display: "flex",
17
+ img: {
18
+ height: "100%"
19
+ }
20
+ },
21
+ // ==================== Content Wrap ====================
22
+ [`${i}-content-wrapper`]: {
23
+ gap: e.paddingXS,
24
+ flex: "auto",
25
+ minWidth: 0,
26
+ [`${i}-title-wrapper`]: {
27
+ gap: e.paddingXS
28
+ },
29
+ [`${i}-title`]: {
30
+ margin: 0
31
+ },
32
+ [`${i}-extra`]: {
33
+ marginInlineStart: "auto"
34
+ }
35
+ }
36
+ }
37
+ };
38
+ }, o = (e) => {
39
+ const { componentCls: i } = e;
40
+ return {
41
+ [i]: {
42
+ // ======================== Filled ========================
43
+ "&-filled": {
44
+ paddingInline: e.padding,
45
+ paddingBlock: e.paddingSM,
46
+ background: e.colorFillContent,
47
+ borderRadius: e.borderRadiusLG
48
+ },
49
+ // ====================== Borderless ======================
50
+ "&-borderless": {
51
+ [`${i}-title`]: {
52
+ fontSize: e.fontSizeHeading3,
53
+ lineHeight: e.lineHeightHeading3
54
+ }
55
+ }
56
+ }
57
+ };
58
+ }, g = () => ({}), H = d(
59
+ "Welcome",
60
+ (e) => {
61
+ const i = r(e, {});
62
+ return [l(i), o(i)];
63
+ },
64
+ g
65
+ );
66
+ export {
67
+ H as default,
68
+ g as prepareComponentToken
69
+ };
@@ -0,0 +1,31 @@
1
+ import { objectType as d } from "../_util/type.mjs";
2
+ import { shallowRef as u, defineComponent as p, computed as n, provide as v, watch as c, unref as a, triggerRef as m, inject as f } from "vue";
3
+ const i = Symbol("XProviderContext"), t = u(), P = (e) => {
4
+ v(i, e), c(
5
+ e,
6
+ () => {
7
+ t.value = a(e), m(t);
8
+ },
9
+ { immediate: !0, deep: !0 }
10
+ );
11
+ }, X = () => f(
12
+ i,
13
+ n(() => t.value || {})
14
+ ), l = p({
15
+ props: {
16
+ value: d()
17
+ },
18
+ setup(e, { slots: r }) {
19
+ return P(n(() => e.value)), () => {
20
+ var o;
21
+ return (o = r.default) == null ? void 0 : o.call(r);
22
+ };
23
+ }
24
+ });
25
+ export {
26
+ l as XProviderContextProvider,
27
+ l as default,
28
+ t as globalXProviderApi,
29
+ X as useXProviderContextInject,
30
+ P as useXProviderContextProvider
31
+ };
@@ -0,0 +1,21 @@
1
+ import { inject as c, computed as n } from "vue";
2
+ const f = "anticon", d = Symbol("configProvider"), s = {
3
+ getPrefixCls: (t, e) => e || (t ? `ant-${t}` : "ant"),
4
+ iconPrefixCls: n(() => f),
5
+ getPopupContainer: n(() => () => document.body),
6
+ direction: n(() => "ltr")
7
+ }, u = () => c(d, s), l = "ant";
8
+ function P() {
9
+ const { getPrefixCls: t, direction: e, csp: o, iconPrefixCls: r, theme: i } = u();
10
+ return {
11
+ theme: i,
12
+ getPrefixCls: t,
13
+ direction: e,
14
+ csp: o,
15
+ iconPrefixCls: r
16
+ };
17
+ }
18
+ export {
19
+ P as default,
20
+ l as defaultPrefixCls
21
+ };
@@ -0,0 +1,8 @@
1
+ import { defaultPrefixCls as t, default as f } from "./hooks/use-x-provider-context.mjs";
2
+ import { _ as r } from "./index2.mjs";
3
+ export {
4
+ r as XProvider,
5
+ r as default,
6
+ t as defaultPrefixCls,
7
+ f as useXProviderContext
8
+ };