@ant-design/agentic-ui 2.29.5 → 2.29.7

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 (308) hide show
  1. package/dist/AILabel/index.js +17 -8
  2. package/dist/AgenticLayout/index.js +3 -5
  3. package/dist/BackTo/BackBottom.js +17 -8
  4. package/dist/BackTo/BackTop.js +17 -8
  5. package/dist/BackTo/ScrollVisibleButton.js +75 -11
  6. package/dist/Bubble/AIBubble.js +131 -121
  7. package/dist/Bubble/Avatar/index.js +19 -10
  8. package/dist/Bubble/FileView.js +2 -2
  9. package/dist/Bubble/List/PureBubbleList.js +4 -5
  10. package/dist/Bubble/List/index.js +4 -5
  11. package/dist/Bubble/List/style.js +3 -0
  12. package/dist/Bubble/MessagesContent/BubbleExtra.js +108 -93
  13. package/dist/Bubble/MessagesContent/CopyButton/index.js +36 -26
  14. package/dist/Bubble/MessagesContent/DocInfo.js +19 -10
  15. package/dist/Bubble/MessagesContent/MarkdownPreview.js +2 -2
  16. package/dist/Bubble/MessagesContent/index.js +149 -130
  17. package/dist/Bubble/PureBubble.js +151 -133
  18. package/dist/Bubble/UserBubble.js +1 -1
  19. package/dist/Bubble/style.js +2 -2
  20. package/dist/Bubble/types/BubbleExtra.js +4 -1
  21. package/dist/Bubble/types/DocInfo.js +9 -1
  22. package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_0.png +0 -0
  23. package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_1.png +0 -0
  24. package/dist/ChatLayout/components/FooterBackgroundLottie/images/img_2.png +0 -0
  25. package/dist/ChatLayout/components/FooterBackgroundLottie/index.d.ts +51 -0
  26. package/dist/ChatLayout/components/FooterBackgroundLottie/index.js +45 -0
  27. package/dist/ChatLayout/components/FooterBackgroundLottie/lottie.d.ts +85 -0
  28. package/dist/ChatLayout/components/FooterBackgroundLottie/lottie.js +382 -0
  29. package/dist/ChatLayout/index.js +52 -14
  30. package/dist/ChatLayout/style.js +11 -0
  31. package/dist/ChatLayout/types.d.ts +28 -0
  32. package/dist/Components/ActionIconBox/index.js +30 -38
  33. package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
  34. package/dist/Components/Button/SwitchButton/index.js +18 -17
  35. package/dist/Components/LayoutHeader/index.js +5 -3
  36. package/dist/Components/LayoutHeader/style.js +5 -0
  37. package/dist/Components/Loading/CreativeRecommendationLoading.js +2 -2
  38. package/dist/Components/Loading/CreativeSparkLoading.js +2 -2
  39. package/dist/Components/SuggestionList/index.js +20 -19
  40. package/dist/Components/TextAnimate/index.js +19 -10
  41. package/dist/Components/TypingAnimation/index.js +19 -10
  42. package/dist/Components/effects/EffectPlayer.js +20 -11
  43. package/dist/Components/icons/LoadingSpinnerIcon.js +19 -10
  44. package/dist/History/components/HistoryActionsBox.js +21 -23
  45. package/dist/History/components/HistoryItem.js +61 -53
  46. package/dist/History/components/HistoryRunningIcon.js +19 -10
  47. package/dist/History/components/LoadMoreComponent.js +61 -55
  48. package/dist/History/components/NewChatComponent.js +53 -47
  49. package/dist/History/components/SearchComponent.js +24 -26
  50. package/dist/History/hooks/useHistory.js +80 -73
  51. package/dist/History/index.js +17 -16
  52. package/dist/History/menu.js +17 -8
  53. package/dist/Hooks/useAutoScroll.js +19 -19
  54. package/dist/Hooks/useDebounceFn/index.js +51 -45
  55. package/dist/Hooks/useElementSize.d.ts +5 -0
  56. package/dist/Hooks/useElementSize.js +71 -0
  57. package/dist/Hooks/useIntersectionOnce.js +17 -8
  58. package/dist/Hooks/useLanguage.d.ts +3 -0
  59. package/dist/I18n/locales.d.ts +3 -0
  60. package/dist/I18n/locales.js +8 -0
  61. package/dist/MarkdownEditor/BaseMarkdownEditor.js +22 -12
  62. package/dist/MarkdownEditor/editor/Editor.js +31 -39
  63. package/dist/MarkdownEditor/editor/components/CommentList/index.js +29 -37
  64. package/dist/MarkdownEditor/editor/elements/Image/index.js +86 -71
  65. package/dist/MarkdownEditor/editor/elements/List/ListItem.js +17 -16
  66. package/dist/MarkdownEditor/editor/elements/Media/index.js +107 -92
  67. package/dist/MarkdownEditor/editor/elements/Table/Table.js +19 -10
  68. package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +17 -16
  69. package/dist/MarkdownEditor/editor/parser/parse/parseBlockElements.js +1 -1
  70. package/dist/MarkdownEditor/editor/parser/parse/parseCode.js +1 -1
  71. package/dist/MarkdownEditor/editor/parser/parse/parseEmptyLines.js +1 -1
  72. package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +4 -1
  73. package/dist/MarkdownEditor/editor/parser/parserSlateNodeToMarkdown.js +2 -2
  74. package/dist/MarkdownEditor/editor/parser/remarkParse.js +3 -1
  75. package/dist/MarkdownEditor/editor/plugins/handlePaste.js +25 -30
  76. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/arrow.js +0 -1
  77. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/enter.js +0 -1
  78. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/match.js +0 -1
  79. package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/tab.js +0 -1
  80. package/dist/MarkdownEditor/editor/plugins/insertParsedHtmlNodes.js +39 -53
  81. package/dist/MarkdownEditor/editor/plugins/useKeyboard.js +1 -1
  82. package/dist/MarkdownEditor/editor/plugins/useOnchange.js +28 -22
  83. package/dist/MarkdownEditor/editor/plugins/withMarkdown.js +1 -1
  84. package/dist/MarkdownEditor/editor/store.js +17 -13
  85. package/dist/MarkdownEditor/editor/tools/InsertAutocomplete.js +202 -197
  86. package/dist/MarkdownEditor/editor/tools/InsertLink.js +2 -2
  87. package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +142 -134
  88. package/dist/MarkdownEditor/editor/utils/ace.js +61 -61
  89. package/dist/MarkdownEditor/editor/utils/editorUtils.js +11 -4
  90. package/dist/MarkdownEditor/editor/utils/index.js +8 -2
  91. package/dist/MarkdownEditor/editor/utils/keyboard.js +31 -35
  92. package/dist/MarkdownEditor/editor/utils/markdownToHtml.js +23 -17
  93. package/dist/MarkdownEditor/editor/utils/media.js +21 -23
  94. package/dist/MarkdownEditor/editor/utils/performanceMonitor.js +55 -50
  95. package/dist/MarkdownEditor/editor/utils/useLocalState.js +11 -4
  96. package/dist/MarkdownEditor/types.d.ts +1 -0
  97. package/dist/MarkdownEditor/types.js +4 -1
  98. package/dist/MarkdownEditor/utils/native-table/native-table-editor.js +14 -14
  99. package/dist/MarkdownEditor/utils/native-table/native-table-keyboard.js +2 -2
  100. package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/style.js +1 -0
  101. package/dist/MarkdownInputField/AttachmentButton/index.js +33 -31
  102. package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +14 -7
  103. package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +2 -2
  104. package/dist/MarkdownInputField/FileMapView/index.js +17 -16
  105. package/dist/MarkdownInputField/FilePaste/index.js +25 -30
  106. package/dist/MarkdownInputField/FileUploadManager/index.js +39 -40
  107. package/dist/MarkdownInputField/MarkdownInputField.js +38 -29
  108. package/dist/MarkdownInputField/QuickActions/index.js +66 -60
  109. package/dist/MarkdownInputField/SendButton/index.js +22 -13
  110. package/dist/MarkdownInputField/Suggestion/index.js +17 -16
  111. package/dist/MarkdownInputField/VoiceInput/index.js +51 -45
  112. package/dist/MarkdownInputField/VoiceInputManager/index.js +133 -125
  113. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldHandlers.js +103 -101
  114. package/dist/MarkdownInputField/hooks/useMarkdownInputFieldStyles.js +1 -1
  115. package/dist/MarkdownInputField/style.js +1 -2
  116. package/dist/MarkdownInputField/types/MarkdownInputFieldProps.js +14 -1
  117. package/dist/Plugins/chart/BarChart/index.js +8 -8
  118. package/dist/Plugins/chart/ChartRender.js +52 -46
  119. package/dist/Plugins/chart/DonutChart/index.js +26 -17
  120. package/dist/Plugins/chart/DonutChart/plugins.js +1 -1
  121. package/dist/Plugins/chart/DonutChart/types.js +1 -1
  122. package/dist/Plugins/chart/FunnelChart/index.js +31 -28
  123. package/dist/Plugins/chart/LineChart/index.js +19 -10
  124. package/dist/Plugins/chart/RadarChart/index.js +19 -10
  125. package/dist/Plugins/chart/ScatterChart/index.js +19 -10
  126. package/dist/Plugins/chart/components/ChartContainer/ChartContainer.js +20 -11
  127. package/dist/Plugins/chart/index.js +31 -13
  128. package/dist/Plugins/chart/loadChartRuntime.js +17 -16
  129. package/dist/Plugins/chart/types/classNames.js +4 -1
  130. package/dist/Plugins/chart/utils.js +20 -20
  131. package/dist/Plugins/code/CodeUI/Katex/Katex.js +52 -46
  132. package/dist/Plugins/code/components/AceEditor.js +149 -133
  133. package/dist/Plugins/code/components/CodeRenderer.js +7 -7
  134. package/dist/Plugins/code/components/CodeToolbar.js +2 -2
  135. package/dist/Plugins/code/components/LanguageSelector.js +6 -6
  136. package/dist/Plugins/code/components/LoadImage.js +5 -5
  137. package/dist/Plugins/code/components/ThinkBlock.js +8 -8
  138. package/dist/Plugins/code/hooks/useCodeEditorState.js +5 -5
  139. package/dist/Plugins/code/index.js +6 -6
  140. package/dist/Plugins/code/langIconMap.js +0 -1
  141. package/dist/Plugins/code/langIcons/AbapIcon.js +19 -10
  142. package/dist/Plugins/code/langIcons/ActionscriptIcon.js +19 -10
  143. package/dist/Plugins/code/langIcons/AdaIcon.js +19 -10
  144. package/dist/Plugins/code/langIcons/ApacheIcon.js +19 -10
  145. package/dist/Plugins/code/langIcons/ApexIcon.js +19 -10
  146. package/dist/Plugins/code/langIcons/AplIcon.js +19 -10
  147. package/dist/Plugins/code/langIcons/ApplescriptIcon.js +19 -10
  148. package/dist/Plugins/code/langIcons/AstroIcon.js +19 -10
  149. package/dist/Plugins/code/langIcons/AwkIcon.js +19 -10
  150. package/dist/Plugins/code/langIcons/BallerinaIcon.js +19 -10
  151. package/dist/Plugins/code/langIcons/BatIcon.js +19 -10
  152. package/dist/Plugins/code/langIcons/BicepIcon.js +19 -10
  153. package/dist/Plugins/code/langIcons/BladeIcon.js +19 -10
  154. package/dist/Plugins/code/langIcons/CIcon.js +19 -10
  155. package/dist/Plugins/code/langIcons/CadenceIcon.js +19 -10
  156. package/dist/Plugins/code/langIcons/ClojureIcon.js +19 -10
  157. package/dist/Plugins/code/langIcons/CmakeIcon.js +19 -10
  158. package/dist/Plugins/code/langIcons/CobolIcon.js +19 -10
  159. package/dist/Plugins/code/langIcons/CodeqlIcon.js +19 -10
  160. package/dist/Plugins/code/langIcons/CoffeeIcon.js +19 -10
  161. package/dist/Plugins/code/langIcons/ConsoleIcon.js +19 -10
  162. package/dist/Plugins/code/langIcons/CppIcon.js +19 -10
  163. package/dist/Plugins/code/langIcons/CrystalIcon.js +19 -10
  164. package/dist/Plugins/code/langIcons/CsharpIcon.js +19 -10
  165. package/dist/Plugins/code/langIcons/CssIcon.js +19 -10
  166. package/dist/Plugins/code/langIcons/DIcon.js +19 -10
  167. package/dist/Plugins/code/langIcons/DartIcon.js +19 -10
  168. package/dist/Plugins/code/langIcons/DatabaseIcon.js +19 -10
  169. package/dist/Plugins/code/langIcons/DiffIcon.js +19 -10
  170. package/dist/Plugins/code/langIcons/DockerIcon.js +19 -10
  171. package/dist/Plugins/code/langIcons/DotenvIcon.js +19 -10
  172. package/dist/Plugins/code/langIcons/ElixirIcon.js +19 -10
  173. package/dist/Plugins/code/langIcons/ElmIcon.js +19 -10
  174. package/dist/Plugins/code/langIcons/ErbIcon.js +19 -10
  175. package/dist/Plugins/code/langIcons/ErlangIcon.js +19 -10
  176. package/dist/Plugins/code/langIcons/FsharpIcon.js +19 -10
  177. package/dist/Plugins/code/langIcons/GdscriptIcon.js +19 -10
  178. package/dist/Plugins/code/langIcons/GlslIcon.js +19 -10
  179. package/dist/Plugins/code/langIcons/GnuplotIcon.js +19 -10
  180. package/dist/Plugins/code/langIcons/GoIcon.js +19 -10
  181. package/dist/Plugins/code/langIcons/GraphqlIcon.js +19 -10
  182. package/dist/Plugins/code/langIcons/GroovyIcon.js +19 -10
  183. package/dist/Plugins/code/langIcons/HackIcon.js +19 -10
  184. package/dist/Plugins/code/langIcons/HamlIcon.js +19 -10
  185. package/dist/Plugins/code/langIcons/HandlebarsIcon.js +19 -10
  186. package/dist/Plugins/code/langIcons/HaskellIcon.js +19 -10
  187. package/dist/Plugins/code/langIcons/HclIcon.js +19 -10
  188. package/dist/Plugins/code/langIcons/HclLightIcon.js +19 -10
  189. package/dist/Plugins/code/langIcons/HjsonIcon.js +19 -10
  190. package/dist/Plugins/code/langIcons/HlslIcon.js +19 -10
  191. package/dist/Plugins/code/langIcons/HtmlIcon.js +19 -10
  192. package/dist/Plugins/code/langIcons/HttpIcon.js +19 -10
  193. package/dist/Plugins/code/langIcons/ImbaIcon.js +19 -10
  194. package/dist/Plugins/code/langIcons/IniIcon.js +19 -10
  195. package/dist/Plugins/code/langIcons/JavaIcon.js +19 -10
  196. package/dist/Plugins/code/langIcons/JavascriptIcon.js +19 -10
  197. package/dist/Plugins/code/langIcons/JinjaIcon.js +19 -10
  198. package/dist/Plugins/code/langIcons/Json5Icon.js +19 -10
  199. package/dist/Plugins/code/langIcons/JsonIcon.js +19 -10
  200. package/dist/Plugins/code/langIcons/JsonnetIcon.js +19 -10
  201. package/dist/Plugins/code/langIcons/JuliaIcon.js +19 -10
  202. package/dist/Plugins/code/langIcons/KotlinIcon.js +19 -10
  203. package/dist/Plugins/code/langIcons/KustoIcon.js +19 -10
  204. package/dist/Plugins/code/langIcons/LessIcon.js +19 -10
  205. package/dist/Plugins/code/langIcons/LiquidIcon.js +19 -10
  206. package/dist/Plugins/code/langIcons/LispIcon.js +19 -10
  207. package/dist/Plugins/code/langIcons/LuaIcon.js +19 -10
  208. package/dist/Plugins/code/langIcons/MakefileIcon.js +19 -10
  209. package/dist/Plugins/code/langIcons/MarkdownIcon.js +19 -10
  210. package/dist/Plugins/code/langIcons/MarkojsIcon.js +19 -10
  211. package/dist/Plugins/code/langIcons/MatlabIcon.js +19 -10
  212. package/dist/Plugins/code/langIcons/MdxIcon.js +19 -10
  213. package/dist/Plugins/code/langIcons/MermaidIcon.js +19 -10
  214. package/dist/Plugins/code/langIcons/MojoIcon.js +19 -10
  215. package/dist/Plugins/code/langIcons/NginxIcon.js +19 -10
  216. package/dist/Plugins/code/langIcons/NimIcon.js +19 -10
  217. package/dist/Plugins/code/langIcons/NixIcon.js +19 -10
  218. package/dist/Plugins/code/langIcons/ObjectiveCIcon.js +19 -10
  219. package/dist/Plugins/code/langIcons/ObjectiveCppIcon.js +19 -10
  220. package/dist/Plugins/code/langIcons/OcamlIcon.js +19 -10
  221. package/dist/Plugins/code/langIcons/PascalIcon.js +19 -10
  222. package/dist/Plugins/code/langIcons/Perl6Icon.js +19 -10
  223. package/dist/Plugins/code/langIcons/PerlIcon.js +19 -10
  224. package/dist/Plugins/code/langIcons/PhpIcon.js +19 -10
  225. package/dist/Plugins/code/langIcons/PostcssIcon.js +19 -10
  226. package/dist/Plugins/code/langIcons/PowershellIcon.js +19 -10
  227. package/dist/Plugins/code/langIcons/PrismaIcon.js +19 -10
  228. package/dist/Plugins/code/langIcons/PrologIcon.js +19 -10
  229. package/dist/Plugins/code/langIcons/ProtoIcon.js +19 -10
  230. package/dist/Plugins/code/langIcons/PugIcon.js +19 -10
  231. package/dist/Plugins/code/langIcons/PuppetIcon.js +19 -10
  232. package/dist/Plugins/code/langIcons/PurescriptIcon.js +19 -10
  233. package/dist/Plugins/code/langIcons/PythonIcon.js +19 -10
  234. package/dist/Plugins/code/langIcons/RIcon.js +19 -10
  235. package/dist/Plugins/code/langIcons/RazorIcon.js +19 -10
  236. package/dist/Plugins/code/langIcons/ReactIcon.js +19 -10
  237. package/dist/Plugins/code/langIcons/ReactTsIcon.js +19 -10
  238. package/dist/Plugins/code/langIcons/RubyIcon.js +19 -10
  239. package/dist/Plugins/code/langIcons/RustIcon.js +19 -10
  240. package/dist/Plugins/code/langIcons/SasIcon.js +19 -10
  241. package/dist/Plugins/code/langIcons/SassIcon.js +19 -10
  242. package/dist/Plugins/code/langIcons/ScalaIcon.js +19 -10
  243. package/dist/Plugins/code/langIcons/SchemeIcon.js +19 -10
  244. package/dist/Plugins/code/langIcons/ShaderlabIcon.js +19 -10
  245. package/dist/Plugins/code/langIcons/SolidityIcon.js +19 -10
  246. package/dist/Plugins/code/langIcons/SparqlIcon.js +19 -10
  247. package/dist/Plugins/code/langIcons/StataIcon.js +19 -10
  248. package/dist/Plugins/code/langIcons/StylusIcon.js +19 -10
  249. package/dist/Plugins/code/langIcons/SvelteIcon.js +19 -10
  250. package/dist/Plugins/code/langIcons/SwiftIcon.js +19 -10
  251. package/dist/Plugins/code/langIcons/SystemverilogIcon.js +19 -10
  252. package/dist/Plugins/code/langIcons/TclIcon.js +19 -10
  253. package/dist/Plugins/code/langIcons/TexIcon.js +19 -10
  254. package/dist/Plugins/code/langIcons/TomlIcon.js +19 -10
  255. package/dist/Plugins/code/langIcons/TwigIcon.js +19 -10
  256. package/dist/Plugins/code/langIcons/TypescriptIcon.js +19 -10
  257. package/dist/Plugins/code/langIcons/VerilogIcon.js +19 -10
  258. package/dist/Plugins/code/langIcons/VhdlIcon.js +19 -10
  259. package/dist/Plugins/code/langIcons/VimIcon.js +19 -10
  260. package/dist/Plugins/code/langIcons/VueIcon.js +19 -10
  261. package/dist/Plugins/code/langIcons/WebassemblyIcon.js +19 -10
  262. package/dist/Plugins/code/langIcons/WenyanIcon.js +19 -10
  263. package/dist/Plugins/code/langIcons/WgslIcon.js +19 -10
  264. package/dist/Plugins/code/langIcons/WolframlanguageIcon.js +19 -10
  265. package/dist/Plugins/code/langIcons/XmlIcon.js +19 -10
  266. package/dist/Plugins/code/langIcons/XslIcon.js +19 -10
  267. package/dist/Plugins/code/langIcons/YamlIcon.js +19 -10
  268. package/dist/Plugins/code/langIcons/ZigIcon.js +19 -10
  269. package/dist/Plugins/code/loadAceEditor.js +21 -23
  270. package/dist/Plugins/code/utils/langOptions.js +6 -6
  271. package/dist/Plugins/formatter/index.js +6 -6
  272. package/dist/Plugins/katex/InlineKatex.js +52 -46
  273. package/dist/Plugins/katex/Katex.js +53 -47
  274. package/dist/Plugins/katex/index.js +6 -6
  275. package/dist/Plugins/katex/loadKatex.js +27 -29
  276. package/dist/Plugins/mermaid/Mermaid.js +34 -28
  277. package/dist/Plugins/mermaid/useMermaidRender.js +103 -97
  278. package/dist/Plugins/mermaid/utils.js +25 -17
  279. package/dist/Schema/SchemaEditor/AceEditorWrapper.js +162 -150
  280. package/dist/Schema/SchemaEditor/index.js +8 -1
  281. package/dist/Schema/SchemaForm/index.js +2 -2
  282. package/dist/Schema/SchemaRenderer/index.js +45 -46
  283. package/dist/ThoughtChainList/index.js +22 -13
  284. package/dist/ToolUseBar/BarItem/Content.js +3 -3
  285. package/dist/ToolUseBar/BarItem/index.js +10 -3
  286. package/dist/ToolUseBar/index.js +19 -10
  287. package/dist/ToolUseBar/style.js +4 -4
  288. package/dist/Types/common.js +4 -1
  289. package/dist/Types/message.js +4 -1
  290. package/dist/Utils/debugUtils.js +8 -8
  291. package/dist/Utils/getScroll.js +12 -5
  292. package/dist/Utils/loadCSS.js +23 -22
  293. package/dist/Utils/proxySandbox/ProxySandbox.js +42 -34
  294. package/dist/Utils/proxySandbox/SecurityContextManager.js +54 -54
  295. package/dist/Utils/proxySandbox/index.js +25 -22
  296. package/dist/Utils/proxySandbox/types.js +11 -11
  297. package/dist/Utils/scrollTo.js +8 -1
  298. package/dist/WelcomeMessage/index.js +1 -1
  299. package/dist/Workspace/File/FileComponent.js +91 -66
  300. package/dist/Workspace/File/PreviewComponent.js +15 -8
  301. package/dist/Workspace/File/index.d.ts +1 -1
  302. package/dist/Workspace/File/style.js +7 -0
  303. package/dist/Workspace/RealtimeFollow/index.js +1 -2
  304. package/dist/Workspace/index.js +13 -11
  305. package/dist/Workspace/style.js +8 -14
  306. package/dist/Workspace/types.d.ts +50 -0
  307. package/dist/Workspace/types.js +0 -1
  308. package/package.json +25 -25
@@ -425,14 +425,14 @@ var BarChart = function(param) {
425
425
  var sameStackIndexes = chart.data.datasets.map(function(_, i) {
426
426
  return i;
427
427
  }).filter(function(i) {
428
+ var _ref;
428
429
  var _chart_data_datasets, _ds_data;
429
430
  var ds = (_chart_data_datasets = chart.data.datasets) === null || _chart_data_datasets === void 0 ? void 0 : _chart_data_datasets[i];
430
431
  if (!chart.isDatasetVisible(i)) return false;
431
432
  if (currentStack) {
432
433
  if ((ds === null || ds === void 0 ? void 0 : ds.stack) !== currentStack) return false;
433
434
  }
434
- var _ds_data_dIndex;
435
- var v = Number((_ds_data_dIndex = ds === null || ds === void 0 ? void 0 : (_ds_data = ds.data) === null || _ds_data === void 0 ? void 0 : _ds_data[dIndex]) !== null && _ds_data_dIndex !== void 0 ? _ds_data_dIndex : 0);
435
+ var v = Number((_ref = ds === null || ds === void 0 ? void 0 : (_ds_data = ds.data) === null || _ds_data === void 0 ? void 0 : _ds_data[dIndex]) !== null && _ref !== void 0 ? _ref : 0);
436
436
  return v >= 0 && value >= 0 || v < 0 && value < 0;
437
437
  });
438
438
  // top means the last dataset in rendering order among same sign
@@ -658,27 +658,27 @@ var BarChart = function(param) {
658
658
  // 堆叠图:只在可见数据集中最后一个显示标签(显示累计总和)
659
659
  if (stacked) {
660
660
  var _Math;
661
+ var _ref;
661
662
  var _chart_data_datasets_dsIndex, _chart_data_datasets, _chart_data_datasets_dsIndex_data, _chart_data_datasets_dsIndex1, _chart_data_datasets1;
662
663
  var chart = context.chart;
663
664
  var dsIndex = context.datasetIndex;
664
665
  var dIndex = context.dataIndex;
665
666
  var currentStack = (_chart_data_datasets = chart.data.datasets) === null || _chart_data_datasets === void 0 ? void 0 : (_chart_data_datasets_dsIndex = _chart_data_datasets[dsIndex]) === null || _chart_data_datasets_dsIndex === void 0 ? void 0 : _chart_data_datasets_dsIndex.stack;
666
- var _chart_data_datasets_dsIndex_data_dIndex;
667
667
  // 获取当前数据点的值,用于判断正负
668
- var currentValue = Number((_chart_data_datasets_dsIndex_data_dIndex = (_chart_data_datasets1 = chart.data.datasets) === null || _chart_data_datasets1 === void 0 ? void 0 : (_chart_data_datasets_dsIndex1 = _chart_data_datasets1[dsIndex]) === null || _chart_data_datasets_dsIndex1 === void 0 ? void 0 : (_chart_data_datasets_dsIndex_data = _chart_data_datasets_dsIndex1.data) === null || _chart_data_datasets_dsIndex_data === void 0 ? void 0 : _chart_data_datasets_dsIndex_data[dIndex]) !== null && _chart_data_datasets_dsIndex_data_dIndex !== void 0 ? _chart_data_datasets_dsIndex_data_dIndex : 0);
668
+ var currentValue = Number((_ref = (_chart_data_datasets1 = chart.data.datasets) === null || _chart_data_datasets1 === void 0 ? void 0 : (_chart_data_datasets_dsIndex1 = _chart_data_datasets1[dsIndex]) === null || _chart_data_datasets_dsIndex1 === void 0 ? void 0 : (_chart_data_datasets_dsIndex_data = _chart_data_datasets_dsIndex1.data) === null || _chart_data_datasets_dsIndex_data === void 0 ? void 0 : _chart_data_datasets_dsIndex_data[dIndex]) !== null && _ref !== void 0 ? _ref : 0);
669
669
  // 找出所有可见的、同一堆叠、同一符号(正/负)的数据集索引
670
670
  var sameStackIndexes = chart.data.datasets.map(function(_, i) {
671
671
  return i;
672
672
  }).filter(function(i) {
673
+ var _ref;
673
674
  var _chart_data_datasets, _ds_data;
674
675
  var ds = (_chart_data_datasets = chart.data.datasets) === null || _chart_data_datasets === void 0 ? void 0 : _chart_data_datasets[i];
675
676
  // 检查数据集是否可见
676
677
  if (!chart.isDatasetVisible(i)) return false;
677
678
  // 检查是否属于同一堆叠
678
679
  if (currentStack && (ds === null || ds === void 0 ? void 0 : ds.stack) !== currentStack) return false;
679
- var _ds_data_dIndex;
680
680
  // 检查该位置的值是否与当前值同号(正/负)
681
- var v = Number((_ds_data_dIndex = ds === null || ds === void 0 ? void 0 : (_ds_data = ds.data) === null || _ds_data === void 0 ? void 0 : _ds_data[dIndex]) !== null && _ds_data_dIndex !== void 0 ? _ds_data_dIndex : 0);
681
+ var v = Number((_ref = ds === null || ds === void 0 ? void 0 : (_ds_data = ds.data) === null || _ds_data === void 0 ? void 0 : _ds_data[dIndex]) !== null && _ref !== void 0 ? _ref : 0);
682
682
  return v >= 0 && currentValue >= 0 || v < 0 && currentValue < 0;
683
683
  });
684
684
  // 只在可见数据集中的最后一个显示标签
@@ -706,11 +706,11 @@ var BarChart = function(param) {
706
706
  var datasetLabel = String(context.dataset.label || '');
707
707
  // 堆叠图:计算并显示该位置的可见数据集累计总和
708
708
  if (stacked) {
709
+ var _ref;
709
710
  var _datasets_datasetIndex_data, _datasets_datasetIndex, _datasets_datasetIndex1;
710
711
  var chart = context.chart;
711
712
  var datasets = chart.data.datasets;
712
- var _datasets_datasetIndex_data_dataIndex;
713
- var currentValue = Number((_datasets_datasetIndex_data_dataIndex = datasets === null || datasets === void 0 ? void 0 : (_datasets_datasetIndex = datasets[datasetIndex]) === null || _datasets_datasetIndex === void 0 ? void 0 : (_datasets_datasetIndex_data = _datasets_datasetIndex.data) === null || _datasets_datasetIndex_data === void 0 ? void 0 : _datasets_datasetIndex_data[dataIndex]) !== null && _datasets_datasetIndex_data_dataIndex !== void 0 ? _datasets_datasetIndex_data_dataIndex : 0);
713
+ var currentValue = Number((_ref = datasets === null || datasets === void 0 ? void 0 : (_datasets_datasetIndex = datasets[datasetIndex]) === null || _datasets_datasetIndex === void 0 ? void 0 : (_datasets_datasetIndex_data = _datasets_datasetIndex.data) === null || _datasets_datasetIndex_data === void 0 ? void 0 : _datasets_datasetIndex_data[dataIndex]) !== null && _ref !== void 0 ? _ref : 0);
714
714
  var currentStack = datasets === null || datasets === void 0 ? void 0 : (_datasets_datasetIndex1 = datasets[datasetIndex]) === null || _datasets_datasetIndex1 === void 0 ? void 0 : _datasets_datasetIndex1.stack;
715
715
  // 只累加可见的、同一堆叠、同一符号的数据集
716
716
  var total = 0;
@@ -126,7 +126,7 @@ function _unsupported_iterable_to_array(o, minLen) {
126
126
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
127
127
  }
128
128
  function _ts_generator(thisArg, body) {
129
- var f, y, t, g, _ = {
129
+ var f, y, t, _ = {
130
130
  label: 0,
131
131
  sent: function() {
132
132
  if (t[0] & 1) throw t[1];
@@ -134,13 +134,17 @@ function _ts_generator(thisArg, body) {
134
134
  },
135
135
  trys: [],
136
136
  ops: []
137
- };
138
- return g = {
139
- next: verb(0),
140
- "throw": verb(1),
141
- "return": verb(2)
142
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
143
- return this;
137
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
138
+ return d(g, "next", {
139
+ value: verb(0)
140
+ }), d(g, "throw", {
141
+ value: verb(1)
142
+ }), d(g, "return", {
143
+ value: verb(2)
144
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
145
+ value: function() {
146
+ return this;
147
+ }
144
148
  }), g;
145
149
  function verb(n) {
146
150
  return function(v) {
@@ -152,7 +156,7 @@ function _ts_generator(thisArg, body) {
152
156
  }
153
157
  function step(op) {
154
158
  if (f) throw new TypeError("Generator is already executing.");
155
- while(_)try {
159
+ while(g && (g = 0, op[0] && (_ = 0)), _)try {
156
160
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
157
161
  if (y = 0, t) op = [
158
162
  op[0] & 2,
@@ -379,8 +383,8 @@ import { debounce, getDataHash, isConfigEqual, isNotEmpty, toNumber } from "./ut
379
383
  });
380
384
  }
381
385
  if (chartType === 'bar') {
386
+ var _ref, _ref1;
382
387
  var _config_rest, _config_rest1, _config_rest2;
383
- var _config_rest_showLegend, _config_rest_showGrid;
384
388
  return /*#__PURE__*/ React.createElement(BarChart, {
385
389
  key: "".concat(config === null || config === void 0 ? void 0 : config.index, "-bar"),
386
390
  data: convertFlatData,
@@ -388,31 +392,31 @@ import { debounce, getDataHash, isConfigEqual, isNotEmpty, toNumber } from "./ut
388
392
  title: title || '',
389
393
  indexAxis: 'y',
390
394
  stacked: config === null || config === void 0 ? void 0 : (_config_rest = config.rest) === null || _config_rest === void 0 ? void 0 : _config_rest.stacked,
391
- showLegend: (_config_rest_showLegend = config === null || config === void 0 ? void 0 : (_config_rest1 = config.rest) === null || _config_rest1 === void 0 ? void 0 : _config_rest1.showLegend) !== null && _config_rest_showLegend !== void 0 ? _config_rest_showLegend : true,
392
- showGrid: (_config_rest_showGrid = config === null || config === void 0 ? void 0 : (_config_rest2 = config.rest) === null || _config_rest2 === void 0 ? void 0 : _config_rest2.showGrid) !== null && _config_rest_showGrid !== void 0 ? _config_rest_showGrid : true,
395
+ showLegend: (_ref = config === null || config === void 0 ? void 0 : (_config_rest1 = config.rest) === null || _config_rest1 === void 0 ? void 0 : _config_rest1.showLegend) !== null && _ref !== void 0 ? _ref : true,
396
+ showGrid: (_ref1 = config === null || config === void 0 ? void 0 : (_config_rest2 = config.rest) === null || _config_rest2 === void 0 ? void 0 : _config_rest2.showGrid) !== null && _ref1 !== void 0 ? _ref1 : true,
393
397
  dataTime: dataTime,
394
398
  toolbarExtra: toolBar,
395
399
  loading: loading
396
400
  });
397
401
  }
398
402
  if (chartType === 'line') {
403
+ var _ref2, _ref3;
399
404
  var _config_rest3, _config_rest4;
400
- var _config_rest_showLegend1, _config_rest_showGrid1;
401
405
  return /*#__PURE__*/ React.createElement(LineChart, {
402
406
  key: "".concat(config === null || config === void 0 ? void 0 : config.index, "-line"),
403
407
  data: convertFlatData,
404
408
  height: (config === null || config === void 0 ? void 0 : config.height) || 400,
405
409
  title: title || '',
406
- showLegend: (_config_rest_showLegend1 = config === null || config === void 0 ? void 0 : (_config_rest3 = config.rest) === null || _config_rest3 === void 0 ? void 0 : _config_rest3.showLegend) !== null && _config_rest_showLegend1 !== void 0 ? _config_rest_showLegend1 : true,
407
- showGrid: (_config_rest_showGrid1 = config === null || config === void 0 ? void 0 : (_config_rest4 = config.rest) === null || _config_rest4 === void 0 ? void 0 : _config_rest4.showGrid) !== null && _config_rest_showGrid1 !== void 0 ? _config_rest_showGrid1 : true,
410
+ showLegend: (_ref2 = config === null || config === void 0 ? void 0 : (_config_rest3 = config.rest) === null || _config_rest3 === void 0 ? void 0 : _config_rest3.showLegend) !== null && _ref2 !== void 0 ? _ref2 : true,
411
+ showGrid: (_ref3 = config === null || config === void 0 ? void 0 : (_config_rest4 = config.rest) === null || _config_rest4 === void 0 ? void 0 : _config_rest4.showGrid) !== null && _ref3 !== void 0 ? _ref3 : true,
408
412
  dataTime: dataTime,
409
413
  toolbarExtra: toolBar,
410
414
  loading: loading
411
415
  });
412
416
  }
413
417
  if (chartType === 'column') {
418
+ var _ref4, _ref5;
414
419
  var _config_rest5, _config_rest6, _config_rest7;
415
- var _config_rest_showLegend2, _config_rest_showGrid2;
416
420
  return /*#__PURE__*/ React.createElement(BarChart, {
417
421
  key: "".concat(config === null || config === void 0 ? void 0 : config.index, "-column"),
418
422
  data: convertFlatData,
@@ -420,23 +424,23 @@ import { debounce, getDataHash, isConfigEqual, isNotEmpty, toNumber } from "./ut
420
424
  title: title || '',
421
425
  indexAxis: 'x',
422
426
  stacked: config === null || config === void 0 ? void 0 : (_config_rest5 = config.rest) === null || _config_rest5 === void 0 ? void 0 : _config_rest5.stacked,
423
- showLegend: (_config_rest_showLegend2 = config === null || config === void 0 ? void 0 : (_config_rest6 = config.rest) === null || _config_rest6 === void 0 ? void 0 : _config_rest6.showLegend) !== null && _config_rest_showLegend2 !== void 0 ? _config_rest_showLegend2 : true,
424
- showGrid: (_config_rest_showGrid2 = config === null || config === void 0 ? void 0 : (_config_rest7 = config.rest) === null || _config_rest7 === void 0 ? void 0 : _config_rest7.showGrid) !== null && _config_rest_showGrid2 !== void 0 ? _config_rest_showGrid2 : true,
427
+ showLegend: (_ref4 = config === null || config === void 0 ? void 0 : (_config_rest6 = config.rest) === null || _config_rest6 === void 0 ? void 0 : _config_rest6.showLegend) !== null && _ref4 !== void 0 ? _ref4 : true,
428
+ showGrid: (_ref5 = config === null || config === void 0 ? void 0 : (_config_rest7 = config.rest) === null || _config_rest7 === void 0 ? void 0 : _config_rest7.showGrid) !== null && _ref5 !== void 0 ? _ref5 : true,
425
429
  dataTime: dataTime,
426
430
  toolbarExtra: toolBar,
427
431
  loading: loading
428
432
  });
429
433
  }
430
434
  if (chartType === 'area') {
435
+ var _ref6, _ref7;
431
436
  var _config_rest8, _config_rest9;
432
- var _config_rest_showLegend3, _config_rest_showGrid3;
433
437
  return /*#__PURE__*/ React.createElement(AreaChart, {
434
438
  key: "".concat(config === null || config === void 0 ? void 0 : config.index, "-area"),
435
439
  data: convertFlatData,
436
440
  height: (config === null || config === void 0 ? void 0 : config.height) || 400,
437
441
  title: title || '',
438
- showLegend: (_config_rest_showLegend3 = config === null || config === void 0 ? void 0 : (_config_rest8 = config.rest) === null || _config_rest8 === void 0 ? void 0 : _config_rest8.showLegend) !== null && _config_rest_showLegend3 !== void 0 ? _config_rest_showLegend3 : true,
439
- showGrid: (_config_rest_showGrid3 = config === null || config === void 0 ? void 0 : (_config_rest9 = config.rest) === null || _config_rest9 === void 0 ? void 0 : _config_rest9.showGrid) !== null && _config_rest_showGrid3 !== void 0 ? _config_rest_showGrid3 : true,
442
+ showLegend: (_ref6 = config === null || config === void 0 ? void 0 : (_config_rest8 = config.rest) === null || _config_rest8 === void 0 ? void 0 : _config_rest8.showLegend) !== null && _ref6 !== void 0 ? _ref6 : true,
443
+ showGrid: (_ref7 = config === null || config === void 0 ? void 0 : (_config_rest9 = config.rest) === null || _config_rest9 === void 0 ? void 0 : _config_rest9.showGrid) !== null && _ref7 !== void 0 ? _ref7 : true,
440
444
  dataTime: dataTime,
441
445
  toolbarExtra: toolBar,
442
446
  loading: loading
@@ -540,30 +544,32 @@ import { debounce, getDataHash, isConfigEqual, isNotEmpty, toNumber } from "./ut
540
544
  /**
541
545
  * 图表运行时渲染器组件
542
546
  * 使用 React.lazy 延迟加载,仅在需要时加载图表运行时
543
- */ var ChartRuntimeRenderer = /*#__PURE__*/ lazy(/*#__PURE__*/ _async_to_generator(function() {
544
- var runtime;
545
- return _ts_generator(this, function(_state) {
546
- switch(_state.label){
547
- case 0:
548
- return [
549
- 4,
550
- loadChartRuntime()
551
- ];
552
- case 1:
553
- runtime = _state.sent();
554
- return [
555
- 2,
556
- {
557
- default: function(props) {
558
- return /*#__PURE__*/ React.createElement(ChartRuntimeRendererImpl, _object_spread_props(_object_spread({}, props), {
559
- runtime: runtime
560
- }));
547
+ */ var ChartRuntimeRenderer = /*#__PURE__*/ lazy(function() {
548
+ return _async_to_generator(function() {
549
+ var runtime;
550
+ return _ts_generator(this, function(_state) {
551
+ switch(_state.label){
552
+ case 0:
553
+ return [
554
+ 4,
555
+ loadChartRuntime()
556
+ ];
557
+ case 1:
558
+ runtime = _state.sent();
559
+ return [
560
+ 2,
561
+ {
562
+ default: function(props) {
563
+ return /*#__PURE__*/ React.createElement(ChartRuntimeRendererImpl, _object_spread_props(_object_spread({}, props), {
564
+ runtime: runtime
565
+ }));
566
+ }
561
567
  }
562
- }
563
- ];
564
- }
565
- });
566
- }));
568
+ ];
569
+ }
570
+ });
571
+ })();
572
+ });
567
573
  /**
568
574
  * 加载中的占位组件
569
575
  */ var ChartRuntimeFallback = function(param) {
@@ -748,12 +754,12 @@ import { debounce, getDataHash, isConfigEqual, isNotEmpty, toNumber } from "./ut
748
754
  var _getAxisTitles = getAxisTitles(), xTitle = _getAxisTitles.xTitle, yTitle = _getAxisTitles.yTitle;
749
755
  var xIndexer = buildXIndexer();
750
756
  return (chartData || []).map(function(row, i) {
757
+ var _xIndexer_get;
751
758
  var rawX = getFieldValueSafely(row, config === null || config === void 0 ? void 0 : config.x);
752
759
  var rawY = getFieldValueSafely(row, config === null || config === void 0 ? void 0 : config.y);
753
760
  var category = getFieldValue(row, groupBy);
754
761
  var type = getFieldValue(row, colorLegend);
755
762
  var filterLabel = getFieldValue(row, filterBy);
756
- var _xIndexer_get;
757
763
  var x = typeof rawX === 'number' ? rawX : isNotEmpty(rawX) ? String(rawX) : String((_xIndexer_get = xIndexer.get(rawX)) !== null && _xIndexer_get !== void 0 ? _xIndexer_get : i + 1);
758
764
  var y = typeof rawY === 'number' ? rawY : isNotEmpty(rawY) ? String(rawY) : '';
759
765
  return _object_spread({
@@ -786,8 +792,8 @@ import { debounce, getDataHash, isConfigEqual, isNotEmpty, toNumber } from "./ut
786
792
  ]);
787
793
  var convertDonutData = useMemo(function() {
788
794
  return (chartData || []).map(function(row) {
789
- var category = getFieldValue(row, groupBy);
790
795
  var _getFieldValueSafely;
796
+ var category = getFieldValue(row, groupBy);
791
797
  var label = String((_getFieldValueSafely = getFieldValueSafely(row, config === null || config === void 0 ? void 0 : config.x)) !== null && _getFieldValueSafely !== void 0 ? _getFieldValueSafely : '');
792
798
  var value = toNumber(getFieldValueSafely(row, config === null || config === void 0 ? void 0 : config.y), 0);
793
799
  var filterLabel = getFieldValue(row, filterBy);
@@ -96,12 +96,22 @@ function _object_spread_props(target, source) {
96
96
  }
97
97
  function _object_without_properties(source, excluded) {
98
98
  if (source == null) return {};
99
- var target = _object_without_properties_loose(source, excluded);
100
- var key, i;
99
+ var target = {}, sourceKeys, key, i;
100
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
101
+ sourceKeys = Reflect.ownKeys(source);
102
+ for(i = 0; i < sourceKeys.length; i++){
103
+ key = sourceKeys[i];
104
+ if (excluded.indexOf(key) >= 0) continue;
105
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
106
+ target[key] = source[key];
107
+ }
108
+ return target;
109
+ }
110
+ target = _object_without_properties_loose(source, excluded);
101
111
  if (Object.getOwnPropertySymbols) {
102
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
103
- for(i = 0; i < sourceSymbolKeys.length; i++){
104
- key = sourceSymbolKeys[i];
112
+ sourceKeys = Object.getOwnPropertySymbols(source);
113
+ for(i = 0; i < sourceKeys.length; i++){
114
+ key = sourceKeys[i];
105
115
  if (excluded.indexOf(key) >= 0) continue;
106
116
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
107
117
  target[key] = source[key];
@@ -111,12 +121,11 @@ function _object_without_properties(source, excluded) {
111
121
  }
112
122
  function _object_without_properties_loose(source, excluded) {
113
123
  if (source == null) return {};
114
- var target = {};
115
- var sourceKeys = Object.keys(source);
116
- var key, i;
124
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
117
125
  for(i = 0; i < sourceKeys.length; i++){
118
126
  key = sourceKeys[i];
119
127
  if (excluded.indexOf(key) >= 0) continue;
128
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
120
129
  target[key] = source[key];
121
130
  }
122
131
  return target;
@@ -185,8 +194,8 @@ import { useStyle } from "./style";
185
194
  * ```
186
195
  *
187
196
  * @since 1.0.0
188
- */ var DonutChart = function(_param) {
189
- var data = _param.data, configs = _param.configs, _param_width = _param.width, width = _param_width === void 0 ? 200 : _param_width, _param_height = _param.height, height = _param_height === void 0 ? 200 : _param_height, className = _param.className, classNamesProp = _param.classNames, title = _param.title, _param_showToolbar = _param.showToolbar, showToolbar = _param_showToolbar === void 0 ? true : _param_showToolbar, onDownload = _param.onDownload, dataTime = _param.dataTime, filterList = _param.filterList, selectedFilter = _param.selectedFilter, onFilterChange = _param.onFilterChange, _param_enableAutoCategory = _param.enableAutoCategory, enableAutoCategory = _param_enableAutoCategory === void 0 ? true : _param_enableAutoCategory, _param_singleMode = _param.singleMode, singleMode = _param_singleMode === void 0 ? false : _param_singleMode, toolbarExtra = _param.toolbarExtra, _param_renderFilterInToolbar = _param.renderFilterInToolbar, renderFilterInToolbar = _param_renderFilterInToolbar === void 0 ? false : _param_renderFilterInToolbar, statisticConfig = _param.statistic, _param_loading = _param.loading, loading = _param_loading === void 0 ? false : _param_loading, props = _object_without_properties(_param, [
197
+ */ var DonutChart = function(_0) {
198
+ var data = _0.data, configs = _0.configs, _0_width = _0.width, width = _0_width === void 0 ? 200 : _0_width, _0_height = _0.height, height = _0_height === void 0 ? 200 : _0_height, className = _0.className, classNamesProp = _0.classNames, title = _0.title, _0_showToolbar = _0.showToolbar, showToolbar = _0_showToolbar === void 0 ? true : _0_showToolbar, onDownload = _0.onDownload, dataTime = _0.dataTime, filterList = _0.filterList, selectedFilter = _0.selectedFilter, onFilterChange = _0.onFilterChange, _0_enableAutoCategory = _0.enableAutoCategory, enableAutoCategory = _0_enableAutoCategory === void 0 ? true : _0_enableAutoCategory, _0_singleMode = _0.singleMode, singleMode = _0_singleMode === void 0 ? false : _0_singleMode, toolbarExtra = _0.toolbarExtra, _0_renderFilterInToolbar = _0.renderFilterInToolbar, renderFilterInToolbar = _0_renderFilterInToolbar === void 0 ? false : _0_renderFilterInToolbar, statisticConfig = _0.statistic, _0_loading = _0.loading, loading = _0_loading === void 0 ? false : _0_loading, props = _object_without_properties(_0, [
190
199
  "data",
191
200
  "configs",
192
201
  "width",
@@ -257,8 +266,8 @@ import { useStyle } from "./style";
257
266
  };
258
267
  var handleLegendItemClick = function(chartIndex, dataIndex) {
259
268
  setHiddenDataIndicesByChart(function(prev) {
260
- var next = _object_spread({}, prev);
261
269
  var _next_chartIndex;
270
+ var next = _object_spread({}, prev);
262
271
  var currentSet = new Set((_next_chartIndex = next[chartIndex]) !== null && _next_chartIndex !== void 0 ? _next_chartIndex : new Set());
263
272
  if (currentSet.has(dataIndex)) {
264
273
  currentSet.delete(dataIndex);
@@ -433,6 +442,7 @@ import { useStyle } from "./style";
433
442
  baseClassName: "".concat(baseClassName, "-content"),
434
443
  variant: "borderless"
435
444
  }, renderConfigs.map(function(cfg, idx) {
445
+ var _ref;
436
446
  var _cfg_backgroundColor;
437
447
  var currentDataItem = filteredData[idx];
438
448
  var isSingleValueMode = Boolean(singleMode && currentDataItem);
@@ -476,8 +486,7 @@ import { useStyle } from "./style";
476
486
  var resolvedBackgroundColors = backgroundColors.map(function(color) {
477
487
  return resolveCssVariable(color);
478
488
  });
479
- var _cfg_backgroundColor_;
480
- var mainColor = (_cfg_backgroundColor_ = (_cfg_backgroundColor = cfg.backgroundColor) === null || _cfg_backgroundColor === void 0 ? void 0 : _cfg_backgroundColor[0]) !== null && _cfg_backgroundColor_ !== void 0 ? _cfg_backgroundColor_ : defaultColorList[idx % defaultColorList.length];
489
+ var mainColor = (_ref = (_cfg_backgroundColor = cfg.backgroundColor) === null || _cfg_backgroundColor === void 0 ? void 0 : _cfg_backgroundColor[0]) !== null && _ref !== void 0 ? _ref : defaultColorList[idx % defaultColorList.length];
481
490
  var resolvedMainColor = resolveCssVariable(mainColor);
482
491
  var chartJsData = {
483
492
  labels: labels,
@@ -510,18 +519,18 @@ import { useStyle } from "./style";
510
519
  ]
511
520
  };
512
521
  var cutout = function() {
522
+ var _cfg_cutout;
513
523
  // 如果明确指定为饼图,cutout 为 0(实心)
514
524
  if (cfg.chartStyle === 'pie') {
515
525
  return 0;
516
526
  }
517
527
  // 环形图的逻辑
518
528
  if (isMobile) {
529
+ var _cfg_cutout1;
519
530
  if (typeof cfg.cutout === 'number') return cfg.cutout * 0.9;
520
- var _cfg_cutout;
521
- return (_cfg_cutout = cfg.cutout) !== null && _cfg_cutout !== void 0 ? _cfg_cutout : isSingleValueMode ? SINGLE_MODE_MOBILE_CUTOUT : '70%';
531
+ return (_cfg_cutout1 = cfg.cutout) !== null && _cfg_cutout1 !== void 0 ? _cfg_cutout1 : isSingleValueMode ? SINGLE_MODE_MOBILE_CUTOUT : '70%';
522
532
  }
523
- var _cfg_cutout1;
524
- return (_cfg_cutout1 = cfg.cutout) !== null && _cfg_cutout1 !== void 0 ? _cfg_cutout1 : isSingleValueMode ? SINGLE_MODE_DESKTOP_CUTOUT : '75%';
533
+ return (_cfg_cutout = cfg.cutout) !== null && _cfg_cutout !== void 0 ? _cfg_cutout : isSingleValueMode ? SINGLE_MODE_DESKTOP_CUTOUT : '75%';
525
534
  }();
526
535
  var isDarkTheme = cfg.theme === 'dark';
527
536
  var tooltipBackgroundColor = isDarkTheme ? '#1F2937' : '#FFFFFF';
@@ -28,7 +28,7 @@ export var createBackgroundArcPlugin = function() {
28
28
  var bgColor = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : '#F7F8F9', padding = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 4;
29
29
  return {
30
30
  id: 'backgroundArc',
31
- beforeDatasetDraw: function(chart) {
31
+ beforeDatasetDraw: function beforeDatasetDraw(chart) {
32
32
  var _meta_data;
33
33
  var meta = chart.getDatasetMeta(0);
34
34
  if (!(meta === null || meta === void 0 ? void 0 : (_meta_data = meta.data) === null || _meta_data === void 0 ? void 0 : _meta_data[0])) return;
@@ -1 +1 @@
1
- import React from "react";
1
+ export { };
@@ -96,12 +96,22 @@ function _object_spread_props(target, source) {
96
96
  }
97
97
  function _object_without_properties(source, excluded) {
98
98
  if (source == null) return {};
99
- var target = _object_without_properties_loose(source, excluded);
100
- var key, i;
99
+ var target = {}, sourceKeys, key, i;
100
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
101
+ sourceKeys = Reflect.ownKeys(source);
102
+ for(i = 0; i < sourceKeys.length; i++){
103
+ key = sourceKeys[i];
104
+ if (excluded.indexOf(key) >= 0) continue;
105
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
106
+ target[key] = source[key];
107
+ }
108
+ return target;
109
+ }
110
+ target = _object_without_properties_loose(source, excluded);
101
111
  if (Object.getOwnPropertySymbols) {
102
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
103
- for(i = 0; i < sourceSymbolKeys.length; i++){
104
- key = sourceSymbolKeys[i];
112
+ sourceKeys = Object.getOwnPropertySymbols(source);
113
+ for(i = 0; i < sourceKeys.length; i++){
114
+ key = sourceKeys[i];
105
115
  if (excluded.indexOf(key) >= 0) continue;
106
116
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
107
117
  target[key] = source[key];
@@ -111,12 +121,11 @@ function _object_without_properties(source, excluded) {
111
121
  }
112
122
  function _object_without_properties_loose(source, excluded) {
113
123
  if (source == null) return {};
114
- var target = {};
115
- var sourceKeys = Object.keys(source);
116
- var key, i;
124
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
117
125
  for(i = 0; i < sourceKeys.length; i++){
118
126
  key = sourceKeys[i];
119
127
  if (excluded.indexOf(key) >= 0) continue;
128
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
120
129
  target[key] = source[key];
121
130
  }
122
131
  return target;
@@ -146,8 +155,8 @@ import { defaultColorList } from "../const";
146
155
  import { findDataPointByXValue, isXValueEqual, resolveCssVariable, toNumber } from "../utils";
147
156
  import { useStyle } from "./style";
148
157
  var funnelChartComponentsRegistered = false;
149
- var FunnelChart = function(_param) {
150
- var title = _param.title, data = _param.data, color = _param.color, _param_width = _param.width, width = _param_width === void 0 ? 600 : _param_width, _param_height = _param.height, height = _param_height === void 0 ? 400 : _param_height, className = _param.className, classNamesProp = _param.classNames, dataTime = _param.dataTime, _param_theme = _param.theme, theme = _param_theme === void 0 ? 'light' : _param_theme, _param_showLegend = _param.showLegend, showLegend = _param_showLegend === void 0 ? true : _param_showLegend, _param_legendPosition = _param.legendPosition, legendPosition = _param_legendPosition === void 0 ? 'bottom' : _param_legendPosition, _param_legendAlign = _param.legendAlign, legendAlign = _param_legendAlign === void 0 ? 'start' : _param_legendAlign, _param_showPercent = _param.showPercent, showPercent = _param_showPercent === void 0 ? true : _param_showPercent, toolbarExtra = _param.toolbarExtra, _param_renderFilterInToolbar = _param.renderFilterInToolbar, renderFilterInToolbar = _param_renderFilterInToolbar === void 0 ? false : _param_renderFilterInToolbar, _param_bottomLayerMinWidth = _param.bottomLayerMinWidth, bottomLayerMinWidth = _param_bottomLayerMinWidth === void 0 ? 0 : _param_bottomLayerMinWidth, typeNames = _param.typeNames, statisticConfig = _param.statistic, _param_loading = _param.loading, loading = _param_loading === void 0 ? false : _param_loading, props = _object_without_properties(_param, [
158
+ var FunnelChart = function(_0) {
159
+ var title = _0.title, data = _0.data, color = _0.color, _0_width = _0.width, width = _0_width === void 0 ? 600 : _0_width, _0_height = _0.height, height = _0_height === void 0 ? 400 : _0_height, className = _0.className, classNamesProp = _0.classNames, dataTime = _0.dataTime, _0_theme = _0.theme, theme = _0_theme === void 0 ? 'light' : _0_theme, _0_showLegend = _0.showLegend, showLegend = _0_showLegend === void 0 ? true : _0_showLegend, _0_legendPosition = _0.legendPosition, legendPosition = _0_legendPosition === void 0 ? 'bottom' : _0_legendPosition, _0_legendAlign = _0.legendAlign, legendAlign = _0_legendAlign === void 0 ? 'start' : _0_legendAlign, _0_showPercent = _0.showPercent, showPercent = _0_showPercent === void 0 ? true : _0_showPercent, toolbarExtra = _0.toolbarExtra, _0_renderFilterInToolbar = _0.renderFilterInToolbar, renderFilterInToolbar = _0_renderFilterInToolbar === void 0 ? false : _0_renderFilterInToolbar, _0_bottomLayerMinWidth = _0.bottomLayerMinWidth, bottomLayerMinWidth = _0_bottomLayerMinWidth === void 0 ? 0 : _0_bottomLayerMinWidth, typeNames = _0.typeNames, statisticConfig = _0.statistic, _0_loading = _0.loading, loading = _0_loading === void 0 ? false : _0_loading, props = _object_without_properties(_0, [
151
160
  "title",
152
161
  "data",
153
162
  "color",
@@ -596,11 +605,10 @@ var FunnelChart = function(_param) {
596
605
  return (it === null || it === void 0 ? void 0 : it.label) ? String(it.label) : '';
597
606
  },
598
607
  label: function(ctx) {
599
- var _ctx_dataIndex;
608
+ var _ctx_dataIndex, _ref;
600
609
  // 使用原始值而非调整后的视觉宽度
601
610
  var idx = (_ctx_dataIndex = ctx.dataIndex) !== null && _ctx_dataIndex !== void 0 ? _ctx_dataIndex : 0;
602
- var _originalValues_idx;
603
- var originalValue = (_originalValues_idx = originalValues === null || originalValues === void 0 ? void 0 : originalValues[idx]) !== null && _originalValues_idx !== void 0 ? _originalValues_idx : 0;
611
+ var originalValue = (_ref = originalValues === null || originalValues === void 0 ? void 0 : originalValues[idx]) !== null && _ref !== void 0 ? _ref : 0;
604
612
  var percentStr = ratioDisplay === null || ratioDisplay === void 0 ? void 0 : ratioDisplay[idx];
605
613
  // 仅当传入了 ratio 时展示百分比,否则只展示数值
606
614
  if (showPercent === false || !percentStr) {
@@ -672,22 +680,21 @@ var FunnelChart = function(_param) {
672
680
  var centerX = (xScale === null || xScale === void 0 ? void 0 : xScale.getPixelForValue) ? xScale.getPixelForValue(0) : undefined;
673
681
  // 逐对绘制 i 与 i+1 之间的梯形
674
682
  for(var i = 0; i < meta.data.length - 1; i++){
683
+ var _rawTop_, _rawTop_1, _rawBot_, _rawBot_1, _ref;
675
684
  var elTop = meta.data[i];
676
685
  var elBot = meta.data[i + 1];
677
686
  var rawTop = ds === null || ds === void 0 ? void 0 : ds[i];
678
687
  var rawBot = ds === null || ds === void 0 ? void 0 : ds[i + 1];
679
688
  if (!Array.isArray(rawTop) || !Array.isArray(rawBot)) continue;
680
- var _rawTop_, _rawTop_1;
681
689
  // 顶部、底部条的像素左右与宽度
682
- var _ref = [
690
+ var _ref1 = [
683
691
  Number((_rawTop_ = rawTop[0]) !== null && _rawTop_ !== void 0 ? _rawTop_ : 0),
684
692
  Number((_rawTop_1 = rawTop[1]) !== null && _rawTop_1 !== void 0 ? _rawTop_1 : 0)
685
- ], sTop = _ref[0], eTop = _ref[1];
686
- var _rawBot_, _rawBot_1;
687
- var _ref1 = [
693
+ ], sTop = _ref1[0], eTop = _ref1[1];
694
+ var _ref2 = [
688
695
  Number((_rawBot_ = rawBot[0]) !== null && _rawBot_ !== void 0 ? _rawBot_ : 0),
689
696
  Number((_rawBot_1 = rawBot[1]) !== null && _rawBot_1 !== void 0 ? _rawBot_1 : 0)
690
- ], sBot = _ref1[0], eBot = _ref1[1];
697
+ ], sBot = _ref2[0], eBot = _ref2[1];
691
698
  var topLx = (xScale === null || xScale === void 0 ? void 0 : xScale.getPixelForValue) ? xScale.getPixelForValue(Math.min(sTop, eTop)) : elTop.x - Math.abs(eTop - sTop) / 2;
692
699
  var topRx = (xScale === null || xScale === void 0 ? void 0 : xScale.getPixelForValue) ? xScale.getPixelForValue(Math.max(sTop, eTop)) : elTop.x + Math.abs(eTop - sTop) / 2;
693
700
  var botLx = (xScale === null || xScale === void 0 ? void 0 : xScale.getPixelForValue) ? xScale.getPixelForValue(Math.min(sBot, eBot)) : elBot.x - Math.abs(eBot - sBot) / 2;
@@ -702,8 +709,7 @@ var FunnelChart = function(_param) {
702
709
  if (!(providedFlags === null || providedFlags === void 0 ? void 0 : providedFlags[i + 1])) {
703
710
  continue;
704
711
  }
705
- var _providedRatioText_;
706
- var ratioText = (_providedRatioText_ = providedRatioText === null || providedRatioText === void 0 ? void 0 : providedRatioText[i + 1]) !== null && _providedRatioText_ !== void 0 ? _providedRatioText_ : '0%';
712
+ var ratioText = (_ref = providedRatioText === null || providedRatioText === void 0 ? void 0 : providedRatioText[i + 1]) !== null && _ref !== void 0 ? _ref : '0%';
707
713
  // 梯形边与上下柱完全对齐
708
714
  var topL = Math.min(topLx, topRx);
709
715
  var topR = Math.max(topLx, topRx);
@@ -758,29 +764,26 @@ var FunnelChart = function(_param) {
758
764
  var ds = (data === null || data === void 0 ? void 0 : (_data_datasets = data.datasets) === null || _data_datasets === void 0 ? void 0 : (_data_datasets_ = _data_datasets[0]) === null || _data_datasets_ === void 0 ? void 0 : _data_datasets_.data) || [];
759
765
  // 计算所有条末端的像素坐标,找最大值作为对齐基准
760
766
  var ends = meta.data.map(function(el, i) {
767
+ var _raw_;
761
768
  var raw = ds === null || ds === void 0 ? void 0 : ds[i];
762
769
  if (!raw || !Array.isArray(raw)) return el.x;
763
- var _raw_;
764
770
  var end = Number((_raw_ = raw[1]) !== null && _raw_ !== void 0 ? _raw_ : 0);
765
771
  return (xScale === null || xScale === void 0 ? void 0 : xScale.getPixelForValue) ? xScale.getPixelForValue(end) : el.x + Math.max(0, el.width / 2);
766
772
  });
767
773
  var maxEnd = (_Math = Math).max.apply(_Math, _to_consumable_array(ends));
768
774
  var padding = 12;
769
775
  meta.data.forEach(function(el, i) {
776
+ var _ref, _raw_, _raw_1, _ref1;
770
777
  var raw = ds === null || ds === void 0 ? void 0 : ds[i];
771
778
  if (!raw || !Array.isArray(raw)) return;
772
779
  var y = el.y;
773
- var _labels_i;
774
- var label = (_labels_i = labels === null || labels === void 0 ? void 0 : labels[i]) !== null && _labels_i !== void 0 ? _labels_i : '';
780
+ var label = (_ref = labels === null || labels === void 0 ? void 0 : labels[i]) !== null && _ref !== void 0 ? _ref : '';
775
781
  ctx.fillText(label, maxEnd + padding, y);
776
- var _raw_;
777
782
  // 在柱体中心绘制数值文本(白色)- 使用原始值
778
783
  var start = Number((_raw_ = raw[0]) !== null && _raw_ !== void 0 ? _raw_ : 0);
779
- var _raw_1;
780
784
  var end = Number((_raw_1 = raw[1]) !== null && _raw_1 !== void 0 ? _raw_1 : 0);
781
785
  var mid = (start + end) / 2;
782
- var _originalValues_i;
783
- var originalValue = (_originalValues_i = originalValues === null || originalValues === void 0 ? void 0 : originalValues[i]) !== null && _originalValues_i !== void 0 ? _originalValues_i : 0;
786
+ var originalValue = (_ref1 = originalValues === null || originalValues === void 0 ? void 0 : originalValues[i]) !== null && _ref1 !== void 0 ? _ref1 : 0;
784
787
  var cx = (xScale === null || xScale === void 0 ? void 0 : xScale.getPixelForValue) ? xScale.getPixelForValue(mid) : el.x;
785
788
  ctx.save();
786
789
  ctx.fillStyle = '#fff';
@@ -66,12 +66,22 @@ function _object_spread_props(target, source) {
66
66
  }
67
67
  function _object_without_properties(source, excluded) {
68
68
  if (source == null) return {};
69
- var target = _object_without_properties_loose(source, excluded);
70
- var key, i;
69
+ var target = {}, sourceKeys, key, i;
70
+ if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
71
+ sourceKeys = Reflect.ownKeys(source);
72
+ for(i = 0; i < sourceKeys.length; i++){
73
+ key = sourceKeys[i];
74
+ if (excluded.indexOf(key) >= 0) continue;
75
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
76
+ target[key] = source[key];
77
+ }
78
+ return target;
79
+ }
80
+ target = _object_without_properties_loose(source, excluded);
71
81
  if (Object.getOwnPropertySymbols) {
72
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
73
- for(i = 0; i < sourceSymbolKeys.length; i++){
74
- key = sourceSymbolKeys[i];
82
+ sourceKeys = Object.getOwnPropertySymbols(source);
83
+ for(i = 0; i < sourceKeys.length; i++){
84
+ key = sourceKeys[i];
75
85
  if (excluded.indexOf(key) >= 0) continue;
76
86
  if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
77
87
  target[key] = source[key];
@@ -81,12 +91,11 @@ function _object_without_properties(source, excluded) {
81
91
  }
82
92
  function _object_without_properties_loose(source, excluded) {
83
93
  if (source == null) return {};
84
- var target = {};
85
- var sourceKeys = Object.keys(source);
86
- var key, i;
94
+ var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
87
95
  for(i = 0; i < sourceKeys.length; i++){
88
96
  key = sourceKeys[i];
89
97
  if (excluded.indexOf(key) >= 0) continue;
98
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
90
99
  target[key] = source[key];
91
100
  }
92
101
  return target;
@@ -111,8 +120,8 @@ import { defaultColorList } from "../const";
111
120
  import { useChartDataFilter, useChartStatistics, useChartTheme, useResponsiveSize } from "../hooks";
112
121
  import { extractAndSortXValues, findDataPointByXValue, hexToRgba, registerLineChartComponents, resolveCssVariable } from "../utils";
113
122
  import { useStyle } from "./style";
114
- var LineChart = function(_param) {
115
- var title = _param.title, data = _param.data, _param_width = _param.width, width = _param_width === void 0 ? 600 : _param_width, _param_height = _param.height, height = _param_height === void 0 ? 400 : _param_height, className = _param.className, classNamesProp = _param.classNames, dataTime = _param.dataTime, _param_theme = _param.theme, theme = _param_theme === void 0 ? 'light' : _param_theme, color = _param.color, _param_showLegend = _param.showLegend, showLegend = _param_showLegend === void 0 ? true : _param_showLegend, _param_legendPosition = _param.legendPosition, legendPosition = _param_legendPosition === void 0 ? 'bottom' : _param_legendPosition, _param_legendAlign = _param.legendAlign, legendAlign = _param_legendAlign === void 0 ? 'start' : _param_legendAlign, _param_showGrid = _param.showGrid, showGrid = _param_showGrid === void 0 ? true : _param_showGrid, _param_xPosition = _param.xPosition, xPosition = _param_xPosition === void 0 ? 'bottom' : _param_xPosition, _param_yPosition = _param.yPosition, yPosition = _param_yPosition === void 0 ? 'left' : _param_yPosition, _param_hiddenX = _param.hiddenX, hiddenX = _param_hiddenX === void 0 ? false : _param_hiddenX, _param_hiddenY = _param.hiddenY, hiddenY = _param_hiddenY === void 0 ? false : _param_hiddenY, toolbarExtra = _param.toolbarExtra, _param_renderFilterInToolbar = _param.renderFilterInToolbar, renderFilterInToolbar = _param_renderFilterInToolbar === void 0 ? false : _param_renderFilterInToolbar, statisticConfig = _param.statistic, _param_loading = _param.loading, loading = _param_loading === void 0 ? false : _param_loading, props = _object_without_properties(_param, [
123
+ var LineChart = function(_0) {
124
+ var title = _0.title, data = _0.data, _0_width = _0.width, width = _0_width === void 0 ? 600 : _0_width, _0_height = _0.height, height = _0_height === void 0 ? 400 : _0_height, className = _0.className, classNamesProp = _0.classNames, dataTime = _0.dataTime, _0_theme = _0.theme, theme = _0_theme === void 0 ? 'light' : _0_theme, color = _0.color, _0_showLegend = _0.showLegend, showLegend = _0_showLegend === void 0 ? true : _0_showLegend, _0_legendPosition = _0.legendPosition, legendPosition = _0_legendPosition === void 0 ? 'bottom' : _0_legendPosition, _0_legendAlign = _0.legendAlign, legendAlign = _0_legendAlign === void 0 ? 'start' : _0_legendAlign, _0_showGrid = _0.showGrid, showGrid = _0_showGrid === void 0 ? true : _0_showGrid, _0_xPosition = _0.xPosition, xPosition = _0_xPosition === void 0 ? 'bottom' : _0_xPosition, _0_yPosition = _0.yPosition, yPosition = _0_yPosition === void 0 ? 'left' : _0_yPosition, _0_hiddenX = _0.hiddenX, hiddenX = _0_hiddenX === void 0 ? false : _0_hiddenX, _0_hiddenY = _0.hiddenY, hiddenY = _0_hiddenY === void 0 ? false : _0_hiddenY, toolbarExtra = _0.toolbarExtra, _0_renderFilterInToolbar = _0.renderFilterInToolbar, renderFilterInToolbar = _0_renderFilterInToolbar === void 0 ? false : _0_renderFilterInToolbar, statisticConfig = _0.statistic, _0_loading = _0.loading, loading = _0_loading === void 0 ? false : _0_loading, props = _object_without_properties(_0, [
116
125
  "title",
117
126
  "data",
118
127
  "width",