@bioturing/components 0.14.1 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/dist/components/Badge/component.js +21 -0
  2. package/dist/components/Badge/component.js.map +1 -0
  3. package/dist/components/Badge/style.css +1 -0
  4. package/dist/components/Breadcrumb/component.js +46 -0
  5. package/dist/components/Breadcrumb/component.js.map +1 -0
  6. package/dist/components/Breadcrumb/style.css +1 -0
  7. package/dist/components/Breadcrumb/useItemRender.js +27 -0
  8. package/dist/components/Breadcrumb/useItemRender.js.map +1 -0
  9. package/dist/components/Button/component.js +9 -0
  10. package/dist/components/Button/component.js.map +1 -0
  11. package/dist/components/Button/style.css +1 -0
  12. package/dist/components/Checkbox/component.js +11 -0
  13. package/dist/components/Checkbox/component.js.map +1 -0
  14. package/dist/components/Checkbox/style.css +1 -0
  15. package/dist/components/CodeBlock/component.js +127 -0
  16. package/dist/components/CodeBlock/component.js.map +1 -0
  17. package/dist/components/CodeBlock/style.css +1 -0
  18. package/dist/components/DSRoot/component.js +21 -0
  19. package/dist/components/DSRoot/component.js.map +1 -0
  20. package/dist/components/DSRoot/context.js +9 -0
  21. package/dist/components/DSRoot/context.js.map +1 -0
  22. package/dist/components/DSRoot/style.css +1 -0
  23. package/dist/components/DropdownMenu/component.js +103 -0
  24. package/dist/components/DropdownMenu/component.js.map +1 -0
  25. package/dist/components/DropdownMenu/style.css +1 -0
  26. package/dist/components/Empty/component.js +48 -0
  27. package/dist/components/Empty/component.js.map +1 -0
  28. package/dist/components/Empty/style.css +1 -0
  29. package/dist/components/Field/component.js +30 -0
  30. package/dist/components/Field/component.js.map +1 -0
  31. package/dist/components/Field/style.css +1 -0
  32. package/dist/components/Form/component.js +23 -0
  33. package/dist/components/Form/component.js.map +1 -0
  34. package/dist/components/Form/item.js +30 -0
  35. package/dist/components/Form/item.js.map +1 -0
  36. package/dist/components/Form/style.css +1 -0
  37. package/dist/components/IconButton/component.js +49 -0
  38. package/dist/components/IconButton/component.js.map +1 -0
  39. package/dist/components/IconButton/style.css +1 -0
  40. package/dist/components/Input/component.js +25 -0
  41. package/dist/components/Input/component.js.map +1 -0
  42. package/dist/components/Modal/Modal.js +161 -0
  43. package/dist/components/Modal/Modal.js.map +1 -0
  44. package/dist/components/Modal/ModalProvider.js +70 -0
  45. package/dist/components/Modal/ModalProvider.js.map +1 -0
  46. package/dist/components/Modal/ModalService.js +25 -0
  47. package/dist/components/Modal/ModalService.js.map +1 -0
  48. package/dist/components/Modal/constants.js +5 -0
  49. package/dist/components/Modal/constants.js.map +1 -0
  50. package/dist/components/Modal/functions.js +27 -0
  51. package/dist/components/Modal/functions.js.map +1 -0
  52. package/dist/components/Modal/index.js +20 -0
  53. package/dist/components/Modal/index.js.map +1 -0
  54. package/dist/components/Modal/style.css +1 -0
  55. package/dist/components/Popover/component.js +12 -0
  56. package/dist/components/Popover/component.js.map +1 -0
  57. package/dist/components/PopupPanel/component.js +190 -0
  58. package/dist/components/PopupPanel/component.js.map +1 -0
  59. package/dist/components/PopupPanel/constants.js +5 -0
  60. package/dist/components/PopupPanel/constants.js.map +1 -0
  61. package/dist/components/PopupPanel/style.css +1 -0
  62. package/dist/components/Radio/component.js +22 -0
  63. package/dist/components/Radio/component.js.map +1 -0
  64. package/dist/components/Radio/style.css +1 -0
  65. package/dist/components/ScrollArea/component.js +40 -0
  66. package/dist/components/ScrollArea/component.js.map +1 -0
  67. package/dist/components/ScrollArea/style.css +1 -0
  68. package/dist/components/Segmented/component.js +9 -0
  69. package/dist/components/Segmented/component.js.map +1 -0
  70. package/dist/components/Segmented/style.css +1 -0
  71. package/dist/components/Select/component.js +135 -0
  72. package/dist/components/Select/component.js.map +1 -0
  73. package/dist/components/Select/style.css +1 -0
  74. package/dist/components/Slider/component.js +23 -0
  75. package/dist/components/Slider/component.js.map +1 -0
  76. package/dist/components/Spin/component.js +12 -0
  77. package/dist/components/Spin/component.js.map +1 -0
  78. package/dist/components/Spin/style.css +1 -0
  79. package/dist/components/Splitter/component.js +40 -0
  80. package/dist/components/Splitter/component.js.map +1 -0
  81. package/dist/components/Splitter/style.css +1 -0
  82. package/dist/components/Stack/Stack.js +37 -0
  83. package/dist/components/Stack/Stack.js.map +1 -0
  84. package/dist/components/Stack/StackChild.js +57 -0
  85. package/dist/components/Stack/StackChild.js.map +1 -0
  86. package/dist/components/Stack/index.js +9 -0
  87. package/dist/components/Stack/index.js.map +1 -0
  88. package/dist/components/Stack/style.css +1 -0
  89. package/dist/components/Switch/component.js +9 -0
  90. package/dist/components/Switch/component.js.map +1 -0
  91. package/dist/components/Switch/style.css +1 -0
  92. package/dist/components/Table/component.js +68 -0
  93. package/dist/components/Table/component.js.map +1 -0
  94. package/dist/components/Table/style.css +1 -0
  95. package/dist/components/Tag/component.js +30 -0
  96. package/dist/components/Tag/component.js.map +1 -0
  97. package/dist/components/Tag/style.css +1 -0
  98. package/dist/components/ThemeProvider/component.js +41 -0
  99. package/dist/components/ThemeProvider/component.js.map +1 -0
  100. package/dist/components/ThemeProvider/style.css +1 -0
  101. package/dist/components/Toast/component.js +101 -0
  102. package/dist/components/Toast/component.js.map +1 -0
  103. package/dist/components/Toast/function.js +25 -0
  104. package/dist/components/Toast/function.js.map +1 -0
  105. package/dist/components/Toast/style.css +1 -0
  106. package/dist/components/Tooltip/component.js +26 -0
  107. package/dist/components/Tooltip/component.js.map +1 -0
  108. package/dist/components/Tooltip/style.css +1 -0
  109. package/dist/components/Tour/component.js +35 -0
  110. package/dist/components/Tour/component.js.map +1 -0
  111. package/dist/components/Tour/style.css +1 -0
  112. package/dist/components/Transition/component.js +44 -0
  113. package/dist/components/Transition/component.js.map +1 -0
  114. package/dist/components/Tree/components.js +67 -0
  115. package/dist/components/Tree/components.js.map +1 -0
  116. package/dist/components/Tree/helpers.js +53 -0
  117. package/dist/components/Tree/helpers.js.map +1 -0
  118. package/dist/components/Tree/useTreeCommon.js +86 -0
  119. package/dist/components/Tree/useTreeCommon.js.map +1 -0
  120. package/dist/components/Tree/useUniqueKeysTree.js +142 -0
  121. package/dist/components/Tree/useUniqueKeysTree.js.map +1 -0
  122. package/dist/components/Truncate/component.js +93 -0
  123. package/dist/components/Truncate/component.js.map +1 -0
  124. package/dist/components/Truncate/helpers.js +36 -0
  125. package/dist/components/Truncate/helpers.js.map +1 -0
  126. package/dist/components/Truncate/style.css +1 -0
  127. package/dist/components/Upload/component.js +39 -0
  128. package/dist/components/Upload/component.js.map +1 -0
  129. package/dist/components/Upload/dragger.js +23 -0
  130. package/dist/components/Upload/dragger.js.map +1 -0
  131. package/dist/components/Upload/hooks.js +18 -0
  132. package/dist/components/Upload/hooks.js.map +1 -0
  133. package/dist/components/Upload/item.js +84 -0
  134. package/dist/components/Upload/item.js.map +1 -0
  135. package/dist/components/Upload/utils.js +7 -0
  136. package/dist/components/Upload/utils.js.map +1 -0
  137. package/dist/components/VerticalCollapsiblePanel/component.js +125 -0
  138. package/dist/components/VerticalCollapsiblePanel/component.js.map +1 -0
  139. package/dist/components/VerticalCollapsiblePanel/style.css +1 -0
  140. package/dist/components/hooks/antd.js +22 -0
  141. package/dist/components/hooks/antd.js.map +1 -0
  142. package/dist/components/hooks/base-ui.js +47 -0
  143. package/dist/components/hooks/base-ui.js.map +1 -0
  144. package/dist/components/hooks/useCharts.js +28 -0
  145. package/dist/components/hooks/useCharts.js.map +1 -0
  146. package/dist/components/hooks/useControlledState.js +15 -0
  147. package/dist/components/hooks/useControlledState.js.map +1 -0
  148. package/dist/components/utils/WithAntdTokens.js +24 -0
  149. package/dist/components/utils/WithAntdTokens.js.map +1 -0
  150. package/dist/components/utils/antdUtils.js +58 -0
  151. package/dist/components/utils/antdUtils.js.map +1 -0
  152. package/dist/components/utils/cn.js +27 -0
  153. package/dist/components/utils/cn.js.map +1 -0
  154. package/dist/components/utils/isTracebackError.js +10 -0
  155. package/dist/components/utils/isTracebackError.js.map +1 -0
  156. package/dist/components/utils/reactToString.js +23 -0
  157. package/dist/components/utils/reactToString.js.map +1 -0
  158. package/dist/index.d.ts +2497 -2
  159. package/dist/index.js +188 -3376
  160. package/dist/index.js.map +1 -0
  161. package/dist/metadata.js +513 -0
  162. package/dist/metadata.js.map +1 -0
  163. package/dist/tailwind.css +1 -4
  164. package/dist/tailwind.d.ts +1 -0
  165. package/dist/tokens/and-theme/tokens.js +351 -0
  166. package/dist/tokens/and-theme/tokens.js.map +1 -0
  167. package/dist/tokens/charts/index.js +18 -0
  168. package/dist/tokens/charts/index.js.map +1 -0
  169. package/dist/tokens/charts/tokens.js +208 -0
  170. package/dist/tokens/charts/tokens.js.map +1 -0
  171. package/dist/tokens/utils.js +37 -0
  172. package/dist/tokens/utils.js.map +1 -0
  173. package/package.json +10 -108
  174. package/dist/Badge.js +0 -41
  175. package/dist/Breadcrumb.js +0 -92
  176. package/dist/Checkbox.js +0 -12
  177. package/dist/CodeBlock.js +0 -641
  178. package/dist/Collapse.js +0 -49
  179. package/dist/DSRoot.js +0 -1181
  180. package/dist/DropdownMenu.js +0 -211
  181. package/dist/Empty.js +0 -53
  182. package/dist/Field.js +0 -66
  183. package/dist/Form.js +0 -125
  184. package/dist/IconButton.js +0 -82
  185. package/dist/Input.js +0 -48
  186. package/dist/Modal.js +0 -430
  187. package/dist/Popover.js +0 -10
  188. package/dist/PopupPanel.css +0 -116
  189. package/dist/PopupPanel.js +0 -333
  190. package/dist/Radio.js +0 -24
  191. package/dist/ScrollArea.js +0 -50
  192. package/dist/Segmented.js +0 -10
  193. package/dist/Select.js +0 -157
  194. package/dist/Slider.js +0 -39
  195. package/dist/Spin.js +0 -33
  196. package/dist/Splitter.js +0 -47
  197. package/dist/Switch.js +0 -10
  198. package/dist/Table.js +0 -126
  199. package/dist/Tag.js +0 -24
  200. package/dist/ThemeProvider.js +0 -403
  201. package/dist/Toast.js +0 -1154
  202. package/dist/Tooltip.js +0 -36
  203. package/dist/Tour.js +0 -54
  204. package/dist/Tree.js +0 -318
  205. package/dist/Truncate.js +0 -160
  206. package/dist/Upload.js +0 -460
  207. package/dist/VerticalCollapsiblePanel.js +0 -413
  208. package/dist/components/Badge/component.d.ts +0 -3
  209. package/dist/components/Badge/index.d.ts +0 -1
  210. package/dist/components/Breadcrumb/component.d.ts +0 -5
  211. package/dist/components/Breadcrumb/index.d.ts +0 -2
  212. package/dist/components/Breadcrumb/types.d.ts +0 -18
  213. package/dist/components/Breadcrumb/useItemRender.d.ts +0 -6
  214. package/dist/components/Button/component.d.ts +0 -7
  215. package/dist/components/Button/index.d.ts +0 -1
  216. package/dist/components/Checkbox/component.d.ts +0 -10
  217. package/dist/components/Checkbox/index.d.ts +0 -1
  218. package/dist/components/CodeBlock/component.d.ts +0 -2
  219. package/dist/components/CodeBlock/index.d.ts +0 -2
  220. package/dist/components/CodeBlock/types.d.ts +0 -47
  221. package/dist/components/Collapse/component.d.ts +0 -13
  222. package/dist/components/Collapse/index.d.ts +0 -1
  223. package/dist/components/DSRoot/component.d.ts +0 -13
  224. package/dist/components/DSRoot/context.d.ts +0 -7
  225. package/dist/components/DSRoot/index.d.ts +0 -1
  226. package/dist/components/DropdownMenu/component.d.ts +0 -30
  227. package/dist/components/DropdownMenu/index.d.ts +0 -2
  228. package/dist/components/Empty/component.d.ts +0 -12
  229. package/dist/components/Empty/index.d.ts +0 -1
  230. package/dist/components/Field/component.d.ts +0 -41
  231. package/dist/components/Field/index.d.ts +0 -1
  232. package/dist/components/Form/component.d.ts +0 -18
  233. package/dist/components/Form/index.d.ts +0 -1
  234. package/dist/components/Form/item.d.ts +0 -5
  235. package/dist/components/IconButton/component.d.ts +0 -29
  236. package/dist/components/IconButton/index.d.ts +0 -1
  237. package/dist/components/Input/component.d.ts +0 -30
  238. package/dist/components/Input/index.d.ts +0 -1
  239. package/dist/components/Modal/Modal.d.ts +0 -84
  240. package/dist/components/Modal/ModalProvider.d.ts +0 -5
  241. package/dist/components/Modal/ModalService.d.ts +0 -33
  242. package/dist/components/Modal/constants.d.ts +0 -9
  243. package/dist/components/Modal/functions.d.ts +0 -27
  244. package/dist/components/Modal/index.d.ts +0 -14
  245. package/dist/components/Popover/component.d.ts +0 -9
  246. package/dist/components/Popover/index.d.ts +0 -1
  247. package/dist/components/PopupPanel/component.d.ts +0 -61
  248. package/dist/components/PopupPanel/constants.d.ts +0 -7
  249. package/dist/components/PopupPanel/index.d.ts +0 -1
  250. package/dist/components/Radio/component.d.ts +0 -7
  251. package/dist/components/Radio/index.d.ts +0 -2
  252. package/dist/components/Radio/interface.d.ts +0 -5
  253. package/dist/components/ScrollArea/component.d.ts +0 -10
  254. package/dist/components/ScrollArea/index.d.ts +0 -1
  255. package/dist/components/Segmented/component.d.ts +0 -9
  256. package/dist/components/Segmented/index.d.ts +0 -1
  257. package/dist/components/Select/component.d.ts +0 -23
  258. package/dist/components/Select/index.d.ts +0 -1
  259. package/dist/components/Slider/component.d.ts +0 -5
  260. package/dist/components/Slider/index.d.ts +0 -1
  261. package/dist/components/Spin/component.d.ts +0 -3
  262. package/dist/components/Spin/index.d.ts +0 -1
  263. package/dist/components/Splitter/component.d.ts +0 -12
  264. package/dist/components/Splitter/index.d.ts +0 -1
  265. package/dist/components/Switch/component.d.ts +0 -8
  266. package/dist/components/Switch/index.d.ts +0 -1
  267. package/dist/components/Table/component.d.ts +0 -19
  268. package/dist/components/Table/index.d.ts +0 -1
  269. package/dist/components/Tag/component.d.ts +0 -11
  270. package/dist/components/Tag/index.d.ts +0 -1
  271. package/dist/components/ThemeProvider/component.d.ts +0 -6
  272. package/dist/components/ThemeProvider/index.d.ts +0 -1
  273. package/dist/components/Toast/component.d.ts +0 -14
  274. package/dist/components/Toast/function.d.ts +0 -10
  275. package/dist/components/Toast/index.d.ts +0 -3
  276. package/dist/components/Toast/types.d.ts +0 -3
  277. package/dist/components/Tooltip/component.d.ts +0 -9
  278. package/dist/components/Tooltip/index.d.ts +0 -1
  279. package/dist/components/Tour/component.d.ts +0 -7
  280. package/dist/components/Tour/index.d.ts +0 -1
  281. package/dist/components/Transition/component.d.ts +0 -17
  282. package/dist/components/Transition/index.d.ts +0 -1
  283. package/dist/components/Tree/components.d.ts +0 -13
  284. package/dist/components/Tree/helpers.d.ts +0 -4
  285. package/dist/components/Tree/index.d.ts +0 -4
  286. package/dist/components/Tree/types.d.ts +0 -55
  287. package/dist/components/Tree/useTreeCommon.d.ts +0 -178
  288. package/dist/components/Tree/useUniqueKeysTree.d.ts +0 -33
  289. package/dist/components/Truncate/component.d.ts +0 -12
  290. package/dist/components/Truncate/helpers.d.ts +0 -5
  291. package/dist/components/Truncate/index.d.ts +0 -1
  292. package/dist/components/Upload/component.d.ts +0 -16
  293. package/dist/components/Upload/dragger.d.ts +0 -13
  294. package/dist/components/Upload/hooks.d.ts +0 -5
  295. package/dist/components/Upload/index.d.ts +0 -3
  296. package/dist/components/Upload/item.d.ts +0 -11
  297. package/dist/components/Upload/utils.d.ts +0 -1
  298. package/dist/components/VerticalCollapsiblePanel/component.d.ts +0 -64
  299. package/dist/components/VerticalCollapsiblePanel/index.d.ts +0 -1
  300. package/dist/components/hooks/antd.d.ts +0 -11
  301. package/dist/components/hooks/base-ui.d.ts +0 -7
  302. package/dist/components/hooks/index.d.ts +0 -4
  303. package/dist/components/hooks/useCharts.d.ts +0 -22
  304. package/dist/components/hooks/useControlledState.d.ts +0 -1
  305. package/dist/components/index.d.ts +0 -40
  306. package/dist/components/utils/WithAntdTokens.d.ts +0 -7
  307. package/dist/components/utils/antdUtils.d.ts +0 -15
  308. package/dist/components/utils/client.d.ts +0 -2
  309. package/dist/components/utils/cn.d.ts +0 -4
  310. package/dist/components/utils/index.d.ts +0 -3
  311. package/dist/components/utils/isTracebackError.d.ts +0 -1
  312. package/dist/components/utils/main.d.ts +0 -3
  313. package/dist/components/utils/reactToString.d.ts +0 -2
  314. package/dist/components/utils/types.d.ts +0 -9
  315. package/dist/hooks.js +0 -961
  316. package/dist/index.css +0 -116
  317. package/dist/style.css +0 -1392
  318. package/dist/style.js +0 -0
  319. package/dist/tailwind.js +0 -0
  320. package/dist/tokens/and-theme/index.d.ts +0 -1
  321. package/dist/tokens/and-theme/tokens.d.ts +0 -5
  322. package/dist/tokens/charts/index.d.ts +0 -6
  323. package/dist/tokens/charts/tokens.d.ts +0 -455
  324. package/dist/tokens/index.d.ts +0 -2
  325. package/dist/tokens/utils.d.ts +0 -16
  326. package/dist/utils.js +0 -120
package/dist/Splitter.js DELETED
@@ -1,47 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_splitter_Splitter_9b2d5564__ from "antd/es/splitter/Splitter";
4
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_splitter_Panel_2a8c0f35__ from "antd/es/splitter/Panel";
5
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__ from "antd/es/config-provider";
6
- import "antd/es/theme/useToken";
7
- import "tailwind-merge";
8
- function cx(...args) {
9
- const classes = [];
10
- for (const arg of args)if (arg) {
11
- if ("string" == typeof arg || "number" == typeof arg) classes.push(String(arg));
12
- else if (Array.isArray(arg)) classes.push(...cx(...arg));
13
- else if ("object" == typeof arg) {
14
- for (const [key, value] of Object.entries(arg))if (value) classes.push(key);
15
- }
16
- }
17
- return classes;
18
- }
19
- function clsx(...args) {
20
- return cx(...args).join(" ");
21
- }
22
- "use client";
23
- const useCls = ()=>{
24
- const { getPrefixCls } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__["default"].ConfigContext);
25
- return (...args)=>cx(...args).map((cls)=>getPrefixCls(cls)).join(" ");
26
- };
27
- "use client";
28
- const SplitterPanel = ({ children, className, style, ...rest })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_splitter_Panel_2a8c0f35__["default"], {
29
- className: className,
30
- style: style,
31
- ...rest,
32
- children: children
33
- });
34
- const MainSplitter = ({ children, className = "", style = {}, showSplitBar = true, ...rest })=>{
35
- const cls = useCls();
36
- return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_splitter_Splitter_9b2d5564__["default"], {
37
- className: clsx(cls("splitter"), !showSplitBar && cls("splitter-hidden-split-bar"), className),
38
- style: style,
39
- ...rest,
40
- children: children
41
- });
42
- };
43
- const Splitter = Object.assign(MainSplitter, {
44
- Panel: SplitterPanel
45
- });
46
- const Split = Splitter;
47
- export { Split, Splitter };
package/dist/Switch.js DELETED
@@ -1,10 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_switch_101feb97__ from "antd/es/switch";
3
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
4
- const MainSwitchInner = ({ ...rest }, ref)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_switch_101feb97__["default"], {
5
- ref: ref,
6
- ...rest
7
- });
8
- const MainSwitch = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.forwardRef)(MainSwitchInner);
9
- const Switch = MainSwitch;
10
- export { Switch };
package/dist/Table.js DELETED
@@ -1,126 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__ from "antd/es/table";
3
- import * as __WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__ from "@bioturing/assets";
4
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__ from "antd/es/config-provider";
5
- import "antd/es/theme/useToken";
6
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
7
- import "tailwind-merge";
8
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_empty_5eb61431__ from "antd/es/empty";
9
- function cx(...args) {
10
- const classes = [];
11
- for (const arg of args)if (arg) {
12
- if ("string" == typeof arg || "number" == typeof arg) classes.push(String(arg));
13
- else if (Array.isArray(arg)) classes.push(...cx(...arg));
14
- else if ("object" == typeof arg) {
15
- for (const [key, value] of Object.entries(arg))if (value) classes.push(key);
16
- }
17
- }
18
- return classes;
19
- }
20
- function clsx(...args) {
21
- return cx(...args).join(" ");
22
- }
23
- "use client";
24
- const useCls = ()=>{
25
- const { getPrefixCls } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__["default"].ConfigContext);
26
- return (...args)=>cx(...args).map((cls)=>getPrefixCls(cls)).join(" ");
27
- };
28
- const EmptyIcon = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("svg", {
29
- xmlns: "http://www.w3.org/2000/svg",
30
- width: "1em",
31
- height: "1em",
32
- fill: "none",
33
- viewBox: "0 0 32 32",
34
- ...props,
35
- children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
36
- stroke: "currentColor",
37
- strokeLinecap: "round",
38
- strokeLinejoin: "round",
39
- strokeOpacity: "0.3",
40
- strokeWidth: "0.05em",
41
- d: "m4 26 3.773-11.316A1 1 0 0 1 8.72 14H29a1 1 0 0 1 .949 1.316L26.386 26zm0 0V8a1 1 0 0 1 1-1h6.666a1 1 0 0 1 .6.2L16 10h9a1 1 0 0 1 1 1v3"
42
- })
43
- });
44
- const Empty = ({ image, size = "medium", className, ...rest })=>{
45
- const cls = useCls();
46
- const emptyImage = image || /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(EmptyIcon, {
47
- className: cls("empty-icon")
48
- });
49
- return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_empty_5eb61431__["default"], {
50
- image: emptyImage,
51
- className: clsx(cls("empty", `empty-${size}`), className),
52
- ...rest
53
- });
54
- };
55
- const component = Empty;
56
- const InternalTable = ({ columns, locale, emptyDescription, loading, scroll = {}, ...rest })=>{
57
- const cls = useCls();
58
- const modifiedColumns = columns ? columns.map((column)=>({
59
- sortIcon: ({ sortOrder })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
60
- className: cls("table-column-sort-icon", sortOrder ? `table-column-sort-icon-${sortOrder}` : "table-column-sort-icon-none"),
61
- children: sortOrder ? "ascend" === sortOrder ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.CaretUp, {
62
- weight: "fill"
63
- }) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.CaretDown, {
64
- weight: "fill"
65
- }) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
66
- children: [
67
- /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.CaretUp, {
68
- weight: "fill"
69
- }),
70
- " ",
71
- /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.CaretDown, {
72
- weight: "fill"
73
- })
74
- ]
75
- })
76
- }),
77
- filterIcon: (_filtered)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
78
- className: cls("table-column-filter-icon"),
79
- children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.Funnel, {
80
- weight: "fill"
81
- })
82
- }),
83
- ...column
84
- })) : void 0;
85
- const modifiedLocale = {
86
- emptyText: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(component, {
87
- description: emptyDescription
88
- }),
89
- ...locale
90
- };
91
- let spinProps;
92
- if ("boolean" == typeof loading) spinProps = {
93
- spinning: loading,
94
- indicator: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
95
- className: cls("spin-loader")
96
- })
97
- };
98
- else if ("object" == typeof loading) spinProps = {
99
- spinning: true,
100
- indicator: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
101
- className: cls("spin-loader")
102
- }),
103
- ...loading
104
- };
105
- return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"], {
106
- columns: modifiedColumns,
107
- loading: spinProps,
108
- locale: modifiedLocale,
109
- scroll: {
110
- x: "fit-content",
111
- ...scroll
112
- },
113
- ...rest
114
- });
115
- };
116
- const Table = Object.assign(InternalTable, {
117
- Column: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].Column,
118
- ColumnGroup: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].ColumnGroup,
119
- SELECTION_COLUMN: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].SELECTION_COLUMN,
120
- EXPAND_COLUMN: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].EXPAND_COLUMN,
121
- SELECTION_ALL: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].SELECTION_ALL,
122
- SELECTION_INVERT: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].SELECTION_INVERT,
123
- SELECTION_NONE: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].SELECTION_NONE,
124
- Summary: __WEBPACK_EXTERNAL_MODULE_antd_es_table_8c9fc42b__["default"].Summary
125
- });
126
- export { Table };
package/dist/Tag.js DELETED
@@ -1,24 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
- import * as __WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__ from "@bioturing/assets";
3
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_tag_1ccabaea__ from "antd/es/tag";
4
- "use client";
5
- const InternalTag = ({ className, active = false, color, style, closeIcon, closable, ...rest })=>{
6
- const renderedCloseIcon = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__bioturing_assets_dd0c210d__.X, {
7
- weight: "bold"
8
- });
9
- return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_tag_1ccabaea__["default"], {
10
- className: className,
11
- color: color,
12
- style: style,
13
- closable: closable,
14
- closeIcon: closable ? closeIcon || renderedCloseIcon : void 0,
15
- ...active ? {
16
- "data-active": "true"
17
- } : {},
18
- ...rest
19
- });
20
- };
21
- const Tag = Object.assign(InternalTag, {
22
- CheckableTag: __WEBPACK_EXTERNAL_MODULE_antd_es_tag_1ccabaea__["default"].CheckableTag
23
- });
24
- export { Tag };
@@ -1,403 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
- import * as __WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__ from "antd/es/config-provider";
3
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
4
- import "antd/es/theme/useToken";
5
- import "tailwind-merge";
6
- import * as __WEBPACK_EXTERNAL_MODULE__ant_design_cssinjs_c619260f__ from "@ant-design/cssinjs";
7
- const getTokensByTheme = (originTokens, theme)=>{
8
- const tokens = {};
9
- Object.entries(originTokens).forEach(([key, value])=>{
10
- if (value && "object" == typeof value && "light" in value && "dark" in value) {
11
- const tokenValue = value;
12
- tokens[key] = tokenValue[theme];
13
- } else if ("string" == typeof value) tokens[key] = value;
14
- });
15
- return tokens;
16
- };
17
- const antdColorTokens = {
18
- colorText: {
19
- light: "rgba(0, 0, 0, 0.88)",
20
- dark: "rgba(255, 255, 255, 0.85)"
21
- },
22
- colorTextSecondary: {
23
- light: "rgba(0, 0, 0, 0.65)",
24
- dark: "rgba(255, 255, 255, 0.65)"
25
- },
26
- colorTextTertiary: {
27
- light: "rgba(0, 0, 0, 0.45)",
28
- dark: "rgba(255, 255, 255, 0.45)"
29
- },
30
- colorTextQuaternary: {
31
- light: "rgba(0, 0, 0, 0.25)",
32
- dark: "rgba(255, 255, 255, 0.25)"
33
- },
34
- colorPrimary: {
35
- light: "#175CD3",
36
- dark: "#2E90FA"
37
- },
38
- colorPrimaryBg: {
39
- light: "#E9F2FF",
40
- dark: "#152137"
41
- },
42
- colorPrimaryBgHover: {
43
- light: "#D1E9FF",
44
- dark: "#112545"
45
- },
46
- colorPrimaryBorder: {
47
- light: "#84CAFF",
48
- dark: "#1C3959"
49
- },
50
- colorPrimaryBorderHover: {
51
- light: "#53B1FD",
52
- dark: "#204C7C"
53
- },
54
- colorPrimaryHover: {
55
- light: "#1570EF",
56
- dark: "#50A0E8"
57
- },
58
- colorPrimaryActive: {
59
- light: "#175CD3",
60
- dark: "#2565AB"
61
- },
62
- colorPrimaryTextHover: {
63
- light: "#1570EF",
64
- dark: "#50A0E8"
65
- },
66
- colorPrimaryTextActive: {
67
- light: "#175CD3",
68
- dark: "#2565AB"
69
- },
70
- colorInfo: {
71
- light: "#175CD3",
72
- dark: "#2E90FA"
73
- },
74
- colorInfoBg: {
75
- light: "#E9F2FF",
76
- dark: "#152137"
77
- },
78
- colorInfoBgHover: {
79
- light: "#D1E9FF",
80
- dark: "#112545"
81
- },
82
- colorInfoBorder: {
83
- light: "#84CAFF",
84
- dark: "#1C3959"
85
- },
86
- colorInfoBorderHover: {
87
- light: "#53B1FD",
88
- dark: "#204C7C"
89
- },
90
- colorInfoHover: {
91
- light: "#1570EF",
92
- dark: "#50A0E8"
93
- },
94
- colorInfoActive: {
95
- light: "#175CD3",
96
- dark: "#2565AB"
97
- },
98
- colorInfoTextHover: {
99
- light: "#1570EF",
100
- dark: "#50A0E8"
101
- },
102
- colorInfoTextActive: {
103
- light: "#175CD3",
104
- dark: "#2565AB"
105
- },
106
- colorSuccess: {
107
- light: "#4CB200",
108
- dark: "#389E0D"
109
- },
110
- colorSuccessBg: {
111
- light: "#F6FFF0",
112
- dark: "#162100"
113
- },
114
- colorSuccessBgHover: {
115
- light: "#D9F7BE",
116
- dark: "#1D2B00"
117
- },
118
- colorSuccessBorder: {
119
- light: "#B7EB8F",
120
- dark: "#274916"
121
- },
122
- colorSuccessBorderHover: {
123
- light: "#95DE64",
124
- dark: "#306317"
125
- },
126
- colorSuccessHover: {
127
- light: "#73D13D",
128
- dark: "#52C41A"
129
- },
130
- colorSuccessActive: {
131
- light: "#389E0D",
132
- dark: "#237804"
133
- },
134
- colorSuccessTextHover: {
135
- light: "#237804",
136
- dark: "#52C41A"
137
- },
138
- colorSuccessTextActive: {
139
- light: "#092B00",
140
- dark: "#237804"
141
- },
142
- colorWarning: {
143
- light: "#FA8C16",
144
- dark: "#D48806"
145
- },
146
- colorWarningBg: {
147
- light: "#FFF7E6",
148
- dark: "#281800"
149
- },
150
- colorWarningBgHover: {
151
- light: "#FFE7BA",
152
- dark: "#3D2200"
153
- },
154
- colorWarningBorder: {
155
- light: "#FFD591",
156
- dark: "#443B16"
157
- },
158
- colorWarningBorderHover: {
159
- light: "#FFC069",
160
- dark: "#594E1A"
161
- },
162
- colorWarningHover: {
163
- light: "#FFA940",
164
- dark: "#E8B339"
165
- },
166
- colorWarningActive: {
167
- light: "#D46B08",
168
- dark: "#AA7714"
169
- },
170
- colorWarningTextHover: {
171
- light: "#AD4E00",
172
- dark: "#E8B339"
173
- },
174
- colorWarningTextActive: {
175
- light: "#873800",
176
- dark: "#AA7714"
177
- },
178
- colorError: {
179
- light: "#D92D20",
180
- dark: "#CF3D33"
181
- },
182
- colorErrorBg: {
183
- light: "#FEF3F2",
184
- dark: "#291414"
185
- },
186
- colorErrorBgHover: {
187
- light: "#FEE4E2",
188
- dark: "#411A18"
189
- },
190
- colorErrorBorder: {
191
- light: "#FDA29B",
192
- dark: "#562222"
193
- },
194
- colorErrorBorderHover: {
195
- light: "#F97066",
196
- dark: "#772A24"
197
- },
198
- colorErrorHover: {
199
- light: "#F04438",
200
- dark: "#E5695A"
201
- },
202
- colorErrorActive: {
203
- light: "#D92D20",
204
- dark: "#A3332B"
205
- },
206
- colorErrorTextHover: {
207
- light: "#F04438",
208
- dark: "#E5695A"
209
- },
210
- colorErrorTextActive: {
211
- light: "#D92D20",
212
- dark: "#A3332B"
213
- },
214
- colorFill: {
215
- light: "rgba(0, 0, 0, 0.15)",
216
- dark: "rgba(255, 255, 255, 0.15)"
217
- },
218
- colorFillSecondary: {
219
- light: "rgba(0, 0, 0, 0.06)",
220
- dark: "rgba(255, 255, 255, 0.06)"
221
- },
222
- colorFillTertiary: {
223
- light: "rgba(0, 0, 0, 0.04)",
224
- dark: "rgba(255, 255, 255, 0.04)"
225
- },
226
- colorFillQuaternary: {
227
- light: "rgba(0, 0, 0, 0.02)",
228
- dark: "rgba(255, 255, 255, 0.02)"
229
- },
230
- colorFillAlter: {
231
- light: "rgba(0, 0, 0, 0.02)",
232
- dark: "rgba(255, 255, 255, 0.02)"
233
- },
234
- colorBorder: {
235
- light: "rgba(0, 0, 0, 0.16)",
236
- dark: "rgba(255, 255, 255, 0.16)"
237
- },
238
- colorBorderSecondary: {
239
- light: "rgba(0, 0, 0, 0.06)",
240
- dark: "rgba(255, 255, 255, 0.06)"
241
- },
242
- colorIcon: {
243
- light: "rgba(0, 0, 0, 0.58)",
244
- dark: "rgba(255, 255, 255, 0.58)"
245
- },
246
- colorIconHover: {
247
- light: "rgba(0, 0, 0, 0.88)",
248
- dark: "rgba(255, 255, 255, 0.88)"
249
- },
250
- colorBgContainer: {
251
- light: "#FFFFFF",
252
- dark: "#26262C"
253
- },
254
- colorBgElevated: {
255
- light: "#FFFFFF",
256
- dark: "#2F2F37"
257
- },
258
- colorBgLayout: {
259
- light: "#F5F5F5",
260
- dark: "#1A1A1E"
261
- },
262
- colorBgSpotlight: {
263
- light: "rgba(0, 0, 0, 0.85)",
264
- dark: "#505D5D"
265
- },
266
- colorBgMask: {
267
- light: "rgba(0, 0, 0, 0.45)",
268
- dark: "rgba(0, 0, 0, 0.45)"
269
- },
270
- colorBgBase: {
271
- light: "#FFFFFF",
272
- dark: "#13131A"
273
- },
274
- controlOutline: {
275
- light: "rgba(0, 0, 0, 0.12)",
276
- dark: "rgba(255, 255, 255, 0.12)"
277
- }
278
- };
279
- const sharedTokens = {
280
- fontFamily: "var(--ds-inter)",
281
- fontFamilyCode: "var(--ds-roboto-mono)",
282
- fontSizeHeading1: 36,
283
- fontSizeHeading2: 30,
284
- fontSizeHeading3: 24,
285
- fontSizeHeading4: 20,
286
- fontSizeHeading5: 16,
287
- lineHeightHeading1: 40 / 36,
288
- lineHeightHeading2: 1.2,
289
- lineHeightHeading3: 32 / 24,
290
- lineHeightHeading4: 1.4,
291
- lineHeightHeading5: 1.5,
292
- lineHeight: 20 / 14,
293
- lineHeightLG: 1.5,
294
- lineHeightSM: 16 / 12,
295
- fontWeightStrong: 600,
296
- boxShadow: "0px 1px 2px rgba(0, 0, 0, 0.06), 0px 1px 6px rgba(0, 0, 0, 0.04), 0px 2px 10px rgba(0, 0, 0, 0.04)",
297
- boxShadowSecondary: "0px 0px 1px 0px var(--ds-color-border-modal), 0px 3px 6px 1px rgba(0, 0, 0, 0.08), 0px 6px 26px 2px rgba(0, 0, 0, 0.08), 0px 4px 52px 0px rgba(0, 0, 0, 0.05)",
298
- colorBgSpotlight: "rgba(0, 0, 0, 0.85)"
299
- };
300
- const sharedThemeConfig = {
301
- cssVar: true,
302
- components: {
303
- Input: {},
304
- InputNumber: {},
305
- Button: {
306
- defaultShadow: void 0,
307
- primaryShadow: void 0,
308
- dangerShadow: void 0
309
- },
310
- Select: {},
311
- Segmented: {
312
- controlHeightLG: 36,
313
- controlHeightSM: 24
314
- },
315
- Breadcrumb: {
316
- separatorColor: "var(--ds-color-border)"
317
- },
318
- Slider: {
319
- trackBg: "var(--ds-color-primary)",
320
- trackHoverBg: "var(--ds-color-primary-hover)",
321
- trackBgDisabled: "var(--ds-color-text-disabled)",
322
- railBg: "var(--ds-control-outline)",
323
- railHoverBg: "var(--ds-color-border)",
324
- handleColor: "var(--ds-color-primary)",
325
- handleActiveColor: "var(--ds-color-primary-active)",
326
- handleColorDisabled: "var(--ds-color-text-disabled)",
327
- dotBorderColor: "var(--ds-color-primary)",
328
- dotActiveBorderColor: "var(--ds-color-primary-active)"
329
- },
330
- Form: {
331
- itemMarginBottom: 16,
332
- labelColor: "var(--ds-color-text)"
333
- }
334
- }
335
- };
336
- const lightTheme = {
337
- token: {
338
- ...getTokensByTheme(antdColorTokens, "light"),
339
- ...sharedTokens
340
- },
341
- ...sharedThemeConfig
342
- };
343
- const darkTheme = {
344
- token: {
345
- ...getTokensByTheme(antdColorTokens, "dark"),
346
- ...sharedTokens
347
- },
348
- ...sharedThemeConfig
349
- };
350
- function cx(...args) {
351
- const classes = [];
352
- for (const arg of args)if (arg) {
353
- if ("string" == typeof arg || "number" == typeof arg) classes.push(String(arg));
354
- else if (Array.isArray(arg)) classes.push(...cx(...arg));
355
- else if ("object" == typeof arg) {
356
- for (const [key, value] of Object.entries(arg))if (value) classes.push(key);
357
- }
358
- }
359
- return classes;
360
- }
361
- function clsx(...args) {
362
- return cx(...args).join(" ");
363
- }
364
- "use client";
365
- const useCls = ()=>{
366
- const { getPrefixCls } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__["default"].ConfigContext);
367
- return (...args)=>cx(...args).map((cls)=>getPrefixCls(cls)).join(" ");
368
- };
369
- "use client";
370
- const DSWrapper = ({ children, theme, appendClassesTo })=>{
371
- const cls = useCls();
372
- const className = clsx(cls("theme-provider"), theme.toString());
373
- (0, __WEBPACK_EXTERNAL_MODULE_react__.useLayoutEffect)(()=>{
374
- const classes = className.split(" ");
375
- const el = "string" == typeof appendClassesTo ? document.querySelector(appendClassesTo) : appendClassesTo;
376
- if (el) el.classList.add(...classes);
377
- return ()=>{
378
- if (el) el.classList.remove(...classes);
379
- };
380
- }, [
381
- appendClassesTo,
382
- className
383
- ]);
384
- return void 0 === appendClassesTo ? __WEBPACK_EXTERNAL_MODULE_react__.Children.map(children, (child)=>{
385
- if (/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.isValidElement)(child)) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.cloneElement)(child, {
386
- className: clsx(child.props.className, className)
387
- });
388
- return child;
389
- }) : children;
390
- };
391
- const ThemeProvider = ({ theme, appendClassesTo, children })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__ant_design_cssinjs_c619260f__.StyleProvider, {
392
- layer: true,
393
- children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_antd_es_config_provider_6a57beb3__["default"], {
394
- theme: "light" == theme ? lightTheme : darkTheme,
395
- prefixCls: "ds",
396
- children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(DSWrapper, {
397
- theme: theme,
398
- appendClassesTo: appendClassesTo,
399
- children: children
400
- })
401
- })
402
- });
403
- export { ThemeProvider };