@swiftcrab/crab 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/es/_util/ActionButton.js +1 -1
  2. package/es/_util/ContextIsolator.js +1 -1
  3. package/es/_util/PurePanel.js +1 -1
  4. package/es/_util/hooks/useZIndex.js +1 -1
  5. package/es/_util/motion.js +1 -1
  6. package/es/_util/responsiveObserver.js +1 -1
  7. package/es/_util/wave/WaveEffect.js +1 -1
  8. package/es/_util/wave/index.js +1 -1
  9. package/es/_util/wave/interface.js +1 -1
  10. package/es/_util/wave/style.js +1 -1
  11. package/es/_util/wave/useWave.js +1 -1
  12. package/es/affix/index.js +1 -1
  13. package/es/affix/style/index.js +1 -1
  14. package/es/alert/Alert.js +1 -1
  15. package/es/alert/ErrorBoundary.js +1 -1
  16. package/es/alert/index.js +1 -1
  17. package/es/alert/style/index.js +1 -1
  18. package/es/anchor/Anchor.js +1 -1
  19. package/es/anchor/AnchorLink.js +1 -1
  20. package/es/anchor/index.js +1 -1
  21. package/es/anchor/style/index.js +1 -1
  22. package/es/app/index.js +1 -1
  23. package/es/app/style/index.js +1 -1
  24. package/es/auto-complete/index.js +1 -1
  25. package/es/avatar/avatar.js +1 -1
  26. package/es/avatar/group.js +1 -1
  27. package/es/avatar/index.js +1 -1
  28. package/es/avatar/style/index.js +1 -1
  29. package/es/badge/Ribbon.js +1 -1
  30. package/es/badge/ScrollNumber.js +1 -1
  31. package/es/badge/index.js +1 -1
  32. package/es/badge/style/index.js +1 -1
  33. package/es/badge/style/ribbon.js +1 -1
  34. package/es/breadcrumb/Breadcrumb.js +1 -1
  35. package/es/breadcrumb/BreadcrumbItem.js +1 -1
  36. package/es/breadcrumb/BreadcrumbSeparator.js +1 -1
  37. package/es/breadcrumb/index.js +1 -1
  38. package/es/breadcrumb/style/index.js +1 -1
  39. package/es/button/button-group.js +1 -1
  40. package/es/button/button.js +1 -1
  41. package/es/button/index.js +1 -1
  42. package/es/button/style/compact.js +1 -1
  43. package/es/button/style/index.js +1 -1
  44. package/es/button/style/token.js +1 -1
  45. package/es/calendar/Header.js +1 -1
  46. package/es/calendar/generateCalendar.js +1 -1
  47. package/es/calendar/index.js +1 -1
  48. package/es/calendar/style/index.js +1 -1
  49. package/es/calendar-panel/index.d.ts +7 -0
  50. package/es/calendar-panel/index.js +40 -0
  51. package/es/calendar-panel/style/index.d.ts +4 -0
  52. package/es/calendar-panel/style/index.js +35 -0
  53. package/es/calendar-panel/style/style.d.ts +1 -0
  54. package/es/calendar-panel/style/style.js +639 -0
  55. package/es/calendar-panel/types.d.ts +158 -0
  56. package/es/calendar-panel/types.js +0 -0
  57. package/es/calendar-panel/utils.d.ts +39 -0
  58. package/es/calendar-panel/utils.js +1 -0
  59. package/es/card/Card.js +1 -1
  60. package/es/card/Grid.js +1 -1
  61. package/es/card/Meta.js +1 -1
  62. package/es/card/index.js +1 -1
  63. package/es/card/style/index.js +1 -1
  64. package/es/carousel/index.js +1 -1
  65. package/es/carousel/style/index.js +1 -1
  66. package/es/cascader/Panel.js +1 -1
  67. package/es/cascader/hooks/useBase.js +1 -1
  68. package/es/cascader/index.js +1 -1
  69. package/es/cascader/style/columns.js +1 -1
  70. package/es/cascader/style/index.js +1 -1
  71. package/es/cascader/style/panel.js +1 -1
  72. package/es/checkbox/Checkbox.js +1 -1
  73. package/es/checkbox/Group.js +1 -1
  74. package/es/checkbox/index.js +1 -1
  75. package/es/checkbox/style/index.js +1 -1
  76. package/es/clap-overflow/index.d.ts +19 -0
  77. package/es/clap-overflow/index.js +40 -0
  78. package/es/clap-overflow/style/index.d.ts +16 -0
  79. package/es/clap-overflow/style/index.js +35 -0
  80. package/es/col/index.js +1 -1
  81. package/es/collapse/Collapse.js +1 -1
  82. package/es/collapse/CollapsePanel.js +1 -1
  83. package/es/collapse/index.js +1 -1
  84. package/es/collapse/style/index.js +1 -1
  85. package/es/color-picker/ColorPicker.js +1 -1
  86. package/es/color-picker/ColorPickerPanel.js +1 -1
  87. package/es/color-picker/components/ColorAlphaInput.js +1 -1
  88. package/es/color-picker/components/ColorHexInput.js +1 -1
  89. package/es/color-picker/components/ColorHsbInput.js +1 -1
  90. package/es/color-picker/components/ColorInput.js +1 -1
  91. package/es/color-picker/components/ColorPresets.js +1 -1
  92. package/es/color-picker/components/ColorRgbInput.js +1 -1
  93. package/es/color-picker/components/ColorSlider.js +1 -1
  94. package/es/color-picker/components/ColorSteppers.js +1 -1
  95. package/es/color-picker/components/PanelPicker/GradientColorBar.js +1 -1
  96. package/es/color-picker/components/PanelPicker/index.js +1 -1
  97. package/es/color-picker/components/PanelPresets.js +1 -1
  98. package/es/color-picker/index.js +1 -1
  99. package/es/color-picker/style/index.js +1 -1
  100. package/es/config-provider/MotionWrapper.js +1 -1
  101. package/es/config-provider/defaultRenderEmpty.js +1 -1
  102. package/es/config-provider/hooks/useCSSVarCls.js +1 -1
  103. package/es/config-provider/hooks/useTheme.js +1 -1
  104. package/es/config-provider/index.js +1 -1
  105. package/es/config-provider/style/index.js +1 -1
  106. package/es/date-picker/PickerButton.js +1 -1
  107. package/es/date-picker/generatePicker/generateRangePicker.js +1 -1
  108. package/es/date-picker/generatePicker/generateSinglePicker.js +1 -1
  109. package/es/date-picker/generatePicker/index.js +1 -1
  110. package/es/date-picker/generatePicker/useComponents.js +1 -1
  111. package/es/date-picker/index.js +1 -1
  112. package/es/date-picker/style/index.js +1 -1
  113. package/es/date-picker/style/multiple.js +1 -1
  114. package/es/date-picker/style/token.js +1 -1
  115. package/es/date-picker/style/variants.js +1 -1
  116. package/es/descriptions/hooks/useItems.js +1 -1
  117. package/es/descriptions/index.js +1 -1
  118. package/es/descriptions/style/index.js +1 -1
  119. package/es/divider/index.js +1 -1
  120. package/es/divider/style/index.js +1 -1
  121. package/es/drawer/DrawerPanel.js +1 -1
  122. package/es/drawer/index.js +1 -1
  123. package/es/drawer/style/index.js +1 -1
  124. package/es/dropdown/dropdown-button.js +1 -1
  125. package/es/dropdown/dropdown.js +1 -1
  126. package/es/dropdown/index.js +1 -1
  127. package/es/dropdown/style/index.js +1 -1
  128. package/es/empty/empty.js +1 -1
  129. package/es/empty/index.js +1 -1
  130. package/es/empty/simple.js +1 -1
  131. package/es/empty/style/index.js +1 -1
  132. package/es/flex/index.js +1 -1
  133. package/es/flex/style/index.js +1 -1
  134. package/es/form/ErrorList.js +1 -1
  135. package/es/form/Form.js +1 -1
  136. package/es/form/FormItem/ItemHolder.js +1 -1
  137. package/es/form/FormItem/index.js +1 -1
  138. package/es/form/FormItemInput.js +1 -1
  139. package/es/form/FormItemLabel.js +1 -1
  140. package/es/form/FormList.js +1 -1
  141. package/es/form/hooks/useVariants.js +1 -1
  142. package/es/form/index.js +1 -1
  143. package/es/form/style/fallbackCmp.js +1 -1
  144. package/es/form/style/index.js +1 -1
  145. package/es/form-area/ValidateTooltip.js +102 -102
  146. package/es/form-area/index.js +102 -102
  147. package/es/form-area/renderItemMap.js +102 -102
  148. package/es/gantt/index.d.ts +4 -0
  149. package/es/gantt/index.js +101 -0
  150. package/es/gantt/style/index.d.ts +4 -0
  151. package/es/gantt/style/index.js +35 -0
  152. package/es/gantt/style/style.d.ts +1 -0
  153. package/es/gantt/style/style.js +372 -0
  154. package/es/gantt/type.d.ts +138 -0
  155. package/es/gantt/type.js +0 -0
  156. package/es/gantt/utils.d.ts +36 -0
  157. package/es/gantt/utils.js +1 -0
  158. package/es/grid/col.js +1 -1
  159. package/es/grid/hooks/useBreakpoint.js +1 -1
  160. package/es/grid/index.js +1 -1
  161. package/es/grid/row.js +1 -1
  162. package/es/grid/style/index.js +1 -1
  163. package/es/hooks/index.js +102 -102
  164. package/es/hooks/useForm.d.ts +12 -33
  165. package/es/hooks/useForm.js +102 -102
  166. package/es/hour-panel/index.d.ts +4 -0
  167. package/es/hour-panel/index.js +99 -0
  168. package/es/hour-panel/style/index.d.ts +12 -0
  169. package/es/hour-panel/style/index.js +35 -0
  170. package/es/hour-panel/style/style.d.ts +1 -0
  171. package/es/hour-panel/style/style.js +351 -0
  172. package/es/hour-panel/types.d.ts +145 -0
  173. package/es/hour-panel/types.js +1 -0
  174. package/es/hour-panel/utils.d.ts +31 -0
  175. package/es/hour-panel/utils.js +1 -0
  176. package/es/image/PreviewGroup.js +1 -1
  177. package/es/image/index.js +1 -1
  178. package/es/image/style/index.js +1 -1
  179. package/es/index.d.ts +11 -1
  180. package/es/index.js +89 -89
  181. package/es/input/Group.js +1 -1
  182. package/es/input/Input.js +1 -1
  183. package/es/input/OTP/OTPInput.js +1 -1
  184. package/es/input/OTP/index.js +1 -1
  185. package/es/input/Password.js +1 -1
  186. package/es/input/Search.js +1 -1
  187. package/es/input/TextArea.js +1 -1
  188. package/es/input/index.js +1 -1
  189. package/es/input/style/index.js +1 -1
  190. package/es/input/style/otp.js +1 -1
  191. package/es/input/style/token.js +1 -1
  192. package/es/input/style/variants.js +1 -1
  193. package/es/input-number/index.js +1 -1
  194. package/es/input-number/style/index.js +1 -1
  195. package/es/input-number/style/token.js +1 -1
  196. package/es/layout/Sider.js +1 -1
  197. package/es/layout/hooks/useHasSider.js +1 -1
  198. package/es/layout/index.js +1 -1
  199. package/es/layout/layout.js +1 -1
  200. package/es/layout/style/index.js +1 -1
  201. package/es/layout/style/sider.js +1 -1
  202. package/es/list/Item.js +1 -1
  203. package/es/list/index.js +1 -1
  204. package/es/list/style/index.js +1 -1
  205. package/es/mentions/index.js +1 -1
  206. package/es/mentions/style/index.js +1 -1
  207. package/es/menu/MenuDivider.js +1 -1
  208. package/es/menu/MenuItem.js +1 -1
  209. package/es/menu/OverrideContext.js +1 -1
  210. package/es/menu/SubMenu.js +1 -1
  211. package/es/menu/index.js +1 -1
  212. package/es/menu/menu.js +1 -1
  213. package/es/menu/style/index.js +1 -1
  214. package/es/message/PurePanel.js +1 -1
  215. package/es/message/index.js +1 -1
  216. package/es/message/style/index.js +1 -1
  217. package/es/message/useMessage.js +1 -1
  218. package/es/modal/ConfirmDialog.js +1 -1
  219. package/es/modal/Modal.js +1 -1
  220. package/es/modal/PurePanel.js +1 -1
  221. package/es/modal/components/ConfirmCancelBtn.js +1 -1
  222. package/es/modal/components/ConfirmOkBtn.js +1 -1
  223. package/es/modal/components/NormalCancelBtn.js +1 -1
  224. package/es/modal/components/NormalOkBtn.js +1 -1
  225. package/es/modal/confirm.js +1 -1
  226. package/es/modal/index.js +1 -1
  227. package/es/modal/shared.js +1 -1
  228. package/es/modal/style/confirm.js +1 -1
  229. package/es/modal/style/index.js +1 -1
  230. package/es/modal/useModal/HookModal.js +1 -1
  231. package/es/modal/useModal/index.js +1 -1
  232. package/es/notification/PurePanel.js +1 -1
  233. package/es/notification/index.js +1 -1
  234. package/es/notification/style/index.js +1 -1
  235. package/es/notification/style/pure-panel.js +1 -1
  236. package/es/notification/useNotification.js +1 -1
  237. package/es/pagination/Pagination.js +1 -1
  238. package/es/pagination/index.js +1 -1
  239. package/es/pagination/style/bordered.js +1 -1
  240. package/es/pagination/style/index.js +1 -1
  241. package/es/popconfirm/PurePanel.js +1 -1
  242. package/es/popconfirm/index.js +1 -1
  243. package/es/popconfirm/style/index.js +1 -1
  244. package/es/popover/PurePanel.js +1 -1
  245. package/es/popover/index.js +1 -1
  246. package/es/popover/style/index.js +1 -1
  247. package/es/progress/Circle.js +1 -1
  248. package/es/progress/Line.js +1 -1
  249. package/es/progress/index.js +1 -1
  250. package/es/progress/progress.js +1 -1
  251. package/es/progress/style/index.js +1 -1
  252. package/es/qr-code/QrcodeStatus.js +1 -1
  253. package/es/qr-code/index.js +1 -1
  254. package/es/qr-code/style/index.js +1 -1
  255. package/es/qrcode/index.js +1 -1
  256. package/es/qrcode/style/index.js +1 -1
  257. package/es/radio/group.js +1 -1
  258. package/es/radio/index.js +1 -1
  259. package/es/radio/radio.js +1 -1
  260. package/es/radio/radioButton.js +1 -1
  261. package/es/radio/style/index.js +1 -1
  262. package/es/rate/index.js +1 -1
  263. package/es/rate/style/index.js +1 -1
  264. package/es/result/index.js +1 -1
  265. package/es/result/style/index.js +1 -1
  266. package/es/row/index.js +1 -1
  267. package/es/search-area/index.js +102 -102
  268. package/es/segmented/index.js +1 -1
  269. package/es/segmented/style/index.js +1 -1
  270. package/es/select/index.js +1 -1
  271. package/es/select/style/index.js +1 -1
  272. package/es/select/style/multiple.js +1 -1
  273. package/es/select/style/single.js +1 -1
  274. package/es/skeleton/Avatar.js +1 -1
  275. package/es/skeleton/Button.js +1 -1
  276. package/es/skeleton/Image.js +1 -1
  277. package/es/skeleton/Input.js +1 -1
  278. package/es/skeleton/Node.js +1 -1
  279. package/es/skeleton/Skeleton.js +1 -1
  280. package/es/skeleton/index.js +1 -1
  281. package/es/skeleton/style/index.js +1 -1
  282. package/es/slider/SliderTooltip.js +1 -1
  283. package/es/slider/index.js +1 -1
  284. package/es/slider/style/index.js +1 -1
  285. package/es/space/Compact.js +1 -1
  286. package/es/space/index.js +1 -1
  287. package/es/space/style/index.js +1 -1
  288. package/es/spin/index.js +1 -1
  289. package/es/spin/style/index.js +1 -1
  290. package/es/splitter/Splitter.js +1 -1
  291. package/es/splitter/index.js +1 -1
  292. package/es/splitter/style/index.js +1 -1
  293. package/es/statistic/Countdown.js +1 -1
  294. package/es/statistic/Statistic.js +1 -1
  295. package/es/statistic/index.js +1 -1
  296. package/es/statistic/style/index.js +1 -1
  297. package/es/steps/index.js +1 -1
  298. package/es/steps/style/index.js +1 -1
  299. package/es/switch/index.js +1 -1
  300. package/es/switch/style/index.js +1 -1
  301. package/es/table/InternalTable.js +1 -1
  302. package/es/table/Table.js +1 -1
  303. package/es/table/hooks/useFilter/FilterDropdown.js +1 -1
  304. package/es/table/hooks/useFilter/FilterSearch.js +1 -1
  305. package/es/table/hooks/useFilter/index.js +1 -1
  306. package/es/table/hooks/useSelection.js +1 -1
  307. package/es/table/hooks/useSorter.js +1 -1
  308. package/es/table/index.js +1 -1
  309. package/es/table/style/index.js +1 -1
  310. package/es/tabs/hooks/useAnimateConfig.js +1 -1
  311. package/es/tabs/index.js +1 -1
  312. package/es/tabs/style/index.js +1 -1
  313. package/es/tag/CheckableTag.js +1 -1
  314. package/es/tag/index.js +1 -1
  315. package/es/tag/style/index.js +1 -1
  316. package/es/tag/style/presetCmp.js +1 -1
  317. package/es/tag/style/statusCmp.js +1 -1
  318. package/es/theme/index.js +1 -1
  319. package/es/theme/interface/components.d.ts +11 -2
  320. package/es/theme/internal.js +1 -1
  321. package/es/theme/useToken.js +1 -1
  322. package/es/theme/util/genStyleUtils.js +1 -1
  323. package/es/theme/util/useResetIconStyle.js +1 -1
  324. package/es/time-out/index.d.ts +18 -0
  325. package/es/time-out/index.js +40 -0
  326. package/es/time-out/style/index.d.ts +31 -0
  327. package/es/time-out/style/index.js +35 -0
  328. package/es/time-out/style/style.d.ts +1 -0
  329. package/es/time-out/style/style.js +104 -0
  330. package/es/time-picker/index.js +1 -1
  331. package/es/timeline/Timeline.js +1 -1
  332. package/es/timeline/TimelineItem.js +1 -1
  333. package/es/timeline/TimelineItemList.js +1 -1
  334. package/es/timeline/index.js +1 -1
  335. package/es/timeline/style/index.js +1 -1
  336. package/es/tooltip/PurePanel.js +1 -1
  337. package/es/tooltip/index.js +1 -1
  338. package/es/tooltip/style/index.js +1 -1
  339. package/es/tour/PurePanel.js +1 -1
  340. package/es/tour/index.js +1 -1
  341. package/es/tour/panelRender.js +1 -1
  342. package/es/tour/style/index.js +1 -1
  343. package/es/transfer/ListBody.js +1 -1
  344. package/es/transfer/ListItem.js +1 -1
  345. package/es/transfer/index.js +1 -1
  346. package/es/transfer/list.js +1 -1
  347. package/es/transfer/operation.js +1 -1
  348. package/es/transfer/search.js +1 -1
  349. package/es/transfer/style/index.js +1 -1
  350. package/es/tree/DirectoryTree.js +1 -1
  351. package/es/tree/Tree.js +1 -1
  352. package/es/tree/index.js +1 -1
  353. package/es/tree/style/index.js +1 -1
  354. package/es/tree-select/index.js +1 -1
  355. package/es/tree-select/style/index.js +1 -1
  356. package/es/type/index.js +89 -89
  357. package/es/typography/Base/CopyBtn.js +1 -1
  358. package/es/typography/Base/EllipsisTooltip.js +1 -1
  359. package/es/typography/Base/index.js +1 -1
  360. package/es/typography/Editable.js +1 -1
  361. package/es/typography/Link.js +1 -1
  362. package/es/typography/Paragraph.js +1 -1
  363. package/es/typography/Text.js +1 -1
  364. package/es/typography/Title.js +1 -1
  365. package/es/typography/Typography.js +1 -1
  366. package/es/typography/index.js +1 -1
  367. package/es/typography/style/index.js +1 -1
  368. package/es/upload/Dragger.js +1 -1
  369. package/es/upload/Upload.js +1 -1
  370. package/es/upload/UploadList/ListItem.js +1 -1
  371. package/es/upload/UploadList/index.js +1 -1
  372. package/es/upload/index.js +1 -1
  373. package/es/upload/style/index.js +1 -1
  374. package/es/utils/common.d.ts +41 -0
  375. package/es/utils/common.js +4 -4
  376. package/es/utils/index.js +4 -4
  377. package/es/version/index.js +1 -1
  378. package/es/watermark/index.js +1 -1
  379. package/package.json +1 -1
  380. package/umd/index.min.js +147 -147
@@ -0,0 +1,351 @@
1
+ import e from'styled-components';var r=e.div`
2
+ .hour-panel {
3
+ /* CSS 变量 */
4
+ --color-brand: #1677ff;
5
+ --color-brand-light: #69b1ff;
6
+ --color-border: #f0f0f0;
7
+ --border-radius: 0;
8
+ --font-size: 14px;
9
+ --font-color: rgba(0, 0, 0, 0.88);
10
+ --input-small-height: 12px;
11
+ --color-red: #ff4d4f;
12
+ }
13
+
14
+ /* ==================== 边框模式 ==================== */
15
+ .hour-panel-border {
16
+ border: 1px solid var(--color-border);
17
+ padding: 16px;
18
+ border-radius: var(--border-radius);
19
+ }
20
+
21
+ /* ==================== 禁用模式 ==================== */
22
+ .hour-panel-disabled {
23
+ opacity: 0.45;
24
+ cursor: not-allowed;
25
+ user-select: none;
26
+ }
27
+
28
+ .hour-panel-disabled *,
29
+ .hour-panel-disabled *::before,
30
+ .hour-panel-disabled *::after {
31
+ cursor: not-allowed !important;
32
+ pointer-events: none;
33
+ }
34
+
35
+ /* ==================== 日期范围选择器 ==================== */
36
+ .hour-panel-range-header {
37
+ display: flex;
38
+ justify-content: flex-end;
39
+ margin-bottom: 12px;
40
+ }
41
+
42
+ .hour-panel-range-picker {
43
+ width: auto;
44
+ }
45
+
46
+ /* ==================== 快捷操作 ==================== */
47
+ .hour-panel-quick-ops {
48
+ display: flex;
49
+ align-items: center;
50
+ }
51
+
52
+ .hour-panel-quick-label {
53
+ color: rgba(0, 0, 0, 0.45);
54
+ margin-right: 12px;
55
+ margin-left: 16px;
56
+ }
57
+
58
+ .hour-panel-quick-radio {
59
+ margin-right: 24px;
60
+ }
61
+
62
+ /* ==================== 时段区域 ==================== */
63
+ .hour-panel-period {
64
+ display: flex;
65
+ flex-direction: column;
66
+ gap: 16px;
67
+ padding-top: 16px;
68
+ overflow-y: auto;
69
+ }
70
+
71
+ .hour-panel-period .hour-panel-row {
72
+ list-style: none;
73
+ margin: 0;
74
+ padding: 16px 0;
75
+ border-bottom: 1px solid var(--color-border);
76
+ display: flex;
77
+ flex-wrap: nowrap;
78
+ position: relative;
79
+ }
80
+
81
+ .hour-panel-period .hour-panel-row::before,
82
+ .hour-panel-period .hour-panel-row::after {
83
+ display: table;
84
+ content: "";
85
+ }
86
+
87
+ .hour-panel-period .hour-panel-row::after {
88
+ clear: both;
89
+ }
90
+
91
+ .hour-panel-period .hour-panel-row:last-child {
92
+ border-bottom: none;
93
+ }
94
+
95
+ /* ==================== 全选按钮区域 ==================== */
96
+ .hour-panel-all {
97
+ position: relative;
98
+ height: 36px;
99
+ display: flex;
100
+ align-items: center;
101
+ justify-content: center;
102
+ flex-shrink: 0;
103
+ border-radius: var(--border-radius);
104
+ user-select: none;
105
+ }
106
+
107
+ .hour-panel-all-tip {
108
+ position: absolute;
109
+ top: -18px;
110
+ width: 100%;
111
+ height: 18px;
112
+ line-height: 18px;
113
+ text-align: center;
114
+ color: rgba(0, 0, 0, 0.45);
115
+ white-space: nowrap;
116
+ overflow: hidden;
117
+ text-overflow: ellipsis;
118
+ padding: 0 4px;
119
+ }
120
+
121
+ .hour-panel-all-btn {
122
+ font-size: var(--font-size);
123
+ padding: 0 16px;
124
+ border-radius: 12px;
125
+ }
126
+
127
+ .hour-panel-all-text {
128
+ width: 100%;
129
+ font-size: var(--font-size);
130
+ color: rgba(0, 0, 0, 0.65);
131
+ height: var(--input-small-height);
132
+ display: inline-flex;
133
+ align-items: center;
134
+ justify-content: center;
135
+ }
136
+
137
+ /* ==================== 时间格子 ==================== */
138
+ .hour-panel-cell {
139
+ position: relative;
140
+ height: 36px;
141
+ text-align: center;
142
+ color: rgba(0, 0, 0, 0.45);
143
+ line-height: 20px;
144
+ font-weight: bold;
145
+ font-family: Tahoma;
146
+ flex-shrink: 0;
147
+ }
148
+
149
+ .hour-panel-cell-pointer {
150
+ cursor: pointer;
151
+ }
152
+
153
+ .hour-panel-cell-readonly {
154
+ cursor: default;
155
+ }
156
+
157
+ .hour-panel-cell-milestone .hour-panel-cell-line {
158
+ height: 16px;
159
+ }
160
+
161
+ .hour-panel-cell-selected .hour-panel-cell-inner::before,
162
+ .hour-panel-cell-selected .hour-panel-cell-inner::after {
163
+ background-color: var(--color-brand);
164
+ }
165
+
166
+ .hour-panel-cell-selected .hour-panel-cell-line .hour-panel-cell-info {
167
+ color: #fff;
168
+ }
169
+
170
+ .hour-panel-cell-inner {
171
+ position: relative;
172
+ height: 36px;
173
+ }
174
+
175
+ .hour-panel-cell-inner::before {
176
+ opacity: 0.1;
177
+ content: "";
178
+ position: absolute;
179
+ top: 0;
180
+ left: 0;
181
+ width: 100%;
182
+ height: 100%;
183
+ background-color: transparent;
184
+ }
185
+
186
+ .hour-panel-cell-inner::after {
187
+ content: "";
188
+ position: absolute;
189
+ top: -16px;
190
+ left: 0;
191
+ width: 100%;
192
+ height: 16px;
193
+ background-color: transparent;
194
+ }
195
+
196
+ .hour-panel-cell-line {
197
+ position: absolute;
198
+ top: 13px;
199
+ left: 0;
200
+ width: 0;
201
+ height: 10px;
202
+ border-left: 1px solid var(--color-brand-light);
203
+ }
204
+
205
+ .hour-panel-cell-line .hour-panel-cell-info {
206
+ position: absolute;
207
+ top: -31px;
208
+ left: 50%;
209
+ width: 40px;
210
+ margin-left: -20px;
211
+ color: var(--color-brand-light);
212
+ display: inline-flex;
213
+ align-items: center;
214
+ justify-content: center;
215
+ user-select: none;
216
+ }
217
+
218
+ .hour-panel-cell-last .hour-panel-cell-line .hour-panel-cell-info {
219
+ color: var(--color-brand-light);
220
+ }
221
+
222
+ /* ==================== 选中起止标记 ==================== */
223
+ .hour-panel-line-start,
224
+ .hour-panel-line-end {
225
+ position: absolute;
226
+ top: 0;
227
+ width: 0;
228
+ height: 36px;
229
+ border-left: 1px solid var(--color-brand);
230
+ }
231
+
232
+ .hour-panel-line-start::before,
233
+ .hour-panel-line-end::before {
234
+ content: "";
235
+ position: absolute;
236
+ top: 0;
237
+ right: -3px;
238
+ width: 0;
239
+ height: 0;
240
+ border-left: 4px solid transparent;
241
+ border-right: 4px solid transparent;
242
+ border-top: 4px solid var(--color-brand);
243
+ }
244
+
245
+ .hour-panel-line-start .hour-panel-line-info,
246
+ .hour-panel-line-end .hour-panel-line-info {
247
+ position: absolute;
248
+ top: -16px;
249
+ left: -12px;
250
+ width: 24px;
251
+ height: 16px;
252
+ background-color: var(--color-brand);
253
+ color: #fff;
254
+ display: inline-flex;
255
+ align-items: center;
256
+ justify-content: center;
257
+ border-radius: 2px;
258
+ white-space: nowrap;
259
+ }
260
+
261
+ .hour-panel-line-start {
262
+ left: 0;
263
+ }
264
+
265
+ .hour-panel-line-end {
266
+ right: -1px;
267
+ }
268
+
269
+ .hour-panel-line-hide {
270
+ display: none;
271
+ }
272
+
273
+ .hour-panel-line-info-text {
274
+ font-size: 20px;
275
+ transform: scale(0.5);
276
+ display: inline-block;
277
+ }
278
+
279
+ /* ==================== 选中区域提示文字 ==================== */
280
+ .hour-panel-tips {
281
+ position: absolute;
282
+ top: 26px;
283
+ height: 16px;
284
+ display: flex;
285
+ align-items: center;
286
+ justify-content: center;
287
+ pointer-events: none;
288
+ z-index: 2;
289
+ overflow: hidden;
290
+ }
291
+
292
+ .hour-panel-tips .hour-panel-tips-text {
293
+ display: inline-block;
294
+ color: var(--color-brand);
295
+ font-size: 12px;
296
+ font-weight: normal;
297
+ white-space: nowrap;
298
+ overflow: hidden;
299
+ text-overflow: ellipsis;
300
+ max-width: 100%;
301
+ padding: 0 4px;
302
+ user-select: none;
303
+ }
304
+
305
+ /* ==================== 底部操作区 ==================== */
306
+ .hour-panel-oper {
307
+ display: flex;
308
+ align-items: center;
309
+ gap: 12px;
310
+ padding-top: 16px;
311
+ min-height: 24px;
312
+ border-top: 1px solid var(--color-border);
313
+ }
314
+
315
+ .hour-panel-oper::before,
316
+ .hour-panel-oper::after {
317
+ display: table;
318
+ content: "";
319
+ }
320
+
321
+ .hour-panel-oper::after {
322
+ clear: both;
323
+ }
324
+
325
+ .hour-panel-oper-clear {
326
+ font-size: var(--font-size);
327
+ padding: 0 16px;
328
+ border-radius: 12px;
329
+ }
330
+
331
+ .hour-panel-oper-error {
332
+ display: inline-flex;
333
+ align-items: center;
334
+ gap: 4px;
335
+ height: var(--input-small-height);
336
+ color: var(--color-red);
337
+ }
338
+
339
+ .hour-panel-oper-error .hour-panel-oper-error-icon {
340
+ font-size: 14px;
341
+ color: var(--color-red);
342
+ }
343
+
344
+ .hour-panel-oper-tip {
345
+ margin-left: auto;
346
+ display: inline-flex;
347
+ align-items: center;
348
+ height: var(--input-small-height);
349
+ color: var(--font-color);
350
+ }
351
+ `;export{r as HourPanelWrapper};
@@ -0,0 +1,145 @@
1
+ import type { ReactNode } from 'react';
2
+ /** 选择模式 */
3
+ export type MuxHourMode = 'common' | 'day' | 'range';
4
+ /** 选中时间段配置 */
5
+ export interface IMuxHourTimeSegment {
6
+ /** 选中的小时数组,如 [2, 3, 4] */
7
+ time: number[];
8
+ /** 选中时间段的颜色,默认使用主题色 */
9
+ color?: string;
10
+ /** 选中时间段的提示信息,显示在选中区域竖线上方,超出部分省略 */
11
+ tips?: ReactNode;
12
+ /** 当前时间段是否不可取消 */
13
+ readonly?: boolean;
14
+ }
15
+ /** 选中项 */
16
+ export interface IMuxHourSelected {
17
+ /** 周几组合,1-7 的任意组合,如 [1, 2, 3, 4, 5] */
18
+ week: number[];
19
+ /** 日期(range 模式下使用,格式 YYYY-MM-DD) */
20
+ date?: string;
21
+ /** 周几名称,如 '周一' */
22
+ name?: string;
23
+ /** 选中的时间段数组 */
24
+ times: IMuxHourTimeSegment[];
25
+ }
26
+ export interface IMuxHourGroupColor {
27
+ /** 时间段,0-24 的任意组合,如 [1, 2, 3, 4, 5] */
28
+ time: number[];
29
+ /** 自定义当前时间段的颜色 */
30
+ color?: string;
31
+ }
32
+ /** 自定义分组(对象形式) */
33
+ export interface IMuxHourGroup {
34
+ /** 分组文案 */
35
+ text?: string;
36
+ /** 周几组合,1-7 的任意组合,如 [1, 2, 3, 4, 5] */
37
+ value: number[];
38
+ /** 自定义色值数组,可批量为指定时间段配置颜色 */
39
+ colors?: IMuxHourGroupColor[];
40
+ }
41
+ /** 分组配置,支持简单数组或对象数组 */
42
+ export type MuxHourGroups = IMuxHourGroup[];
43
+ /** 校验结果 */
44
+ export interface IMuxHourCheckResult {
45
+ /** 是否校验通过 */
46
+ ok: boolean;
47
+ /** 校验结果信息 */
48
+ msg: string;
49
+ /** 当前选中结果 */
50
+ data: IMuxHourSelected[];
51
+ }
52
+ /** 内部时段数据 */
53
+ export interface IHourPeriod {
54
+ name: string;
55
+ weeks: string[];
56
+ hours: IHourCell[];
57
+ selected: boolean;
58
+ /** 日期(range 模式下使用,格式 YYYY-MM-DD) */
59
+ date?: string;
60
+ }
61
+ /** 内部小时格子数据 */
62
+ export interface IHourCell {
63
+ index: number;
64
+ indexNext: number;
65
+ showText: boolean;
66
+ showNextText: boolean;
67
+ milestone: boolean;
68
+ zIndex: number;
69
+ selected: boolean;
70
+ firstSelected: boolean;
71
+ endSelected: boolean;
72
+ color?: string;
73
+ /** 当前格子所属时间段的提示信息 */
74
+ tips?: ReactNode;
75
+ /** 当前格子是否不可取消选中 */
76
+ readonly?: boolean;
77
+ }
78
+ /** 快捷操作类型 */
79
+ export interface IHourQuickType {
80
+ text: string;
81
+ value: string;
82
+ }
83
+ export interface IMuxHourProps {
84
+ /** 当前选中值(受控) */
85
+ value?: IMuxHourSelected[];
86
+ /** 默认选中值(非受控) */
87
+ defaultValue?: IMuxHourSelected[];
88
+ /** 选择模式,'common' 只区分工作日和双休日,'day' 每日单独选择,'range' 按日期范围选择 */
89
+ mode?: MuxHourMode;
90
+ /** 自定义分组信息 */
91
+ groups?: MuxHourGroups;
92
+ /** 右下角提示文案 */
93
+ tip?: ReactNode;
94
+ /** 开始时间,默认 0 */
95
+ min?: number;
96
+ /** 结束时间,默认 24 */
97
+ max?: number;
98
+ /** 单格步长,默认 1 */
99
+ step?: number;
100
+ /** 是否隐藏小数文本 */
101
+ hideDecimalText?: boolean;
102
+ /** 只读模式 */
103
+ readonly?: boolean;
104
+ /** 禁用模式,与只读逻辑相同,但会有置灰效果 */
105
+ disabled?: boolean;
106
+ /** 是否需要边框 + 背景色 */
107
+ border?: boolean;
108
+ /** 是否要求每日选择结果为连续的时间段 */
109
+ continuous?: boolean;
110
+ /** 每日可选择最小时段个数 */
111
+ minLength?: number;
112
+ /** 每日可选择最大时段个数 */
113
+ maxLength?: number;
114
+ /** 自定义错误校验提示 */
115
+ errorTip?: string;
116
+ /** 选择项发生变化且校验通过时触发 */
117
+ onChange?: (selected: IMuxHourSelected[]) => void;
118
+ /** 鼠标右键点击已选中的时间段时触发 */
119
+ onContextMenu?: (selected: IMuxHourSelected, e: React.MouseEvent) => void;
120
+ /** 自定义类名 */
121
+ className?: string;
122
+ /** 是否显示日期范围选择器(仅在 mode='range' 下生效) */
123
+ showDateRange?: boolean;
124
+ /** 时间段区域最大高度,默认 600 */
125
+ maxHeight?: number;
126
+ /** 是否显示全选按钮 */
127
+ hasAllBtn?: boolean;
128
+ /** 是否显示清空按钮 */
129
+ hasClearBtn?: boolean;
130
+ /** 是否显示重置按钮 */
131
+ hasResetBtn?: boolean;
132
+ /** 是否显示快捷操作 */
133
+ hasQuick?: boolean;
134
+ /** 自定义样式 */
135
+ style?: React.CSSProperties;
136
+ }
137
+ /** 通过 ref 暴露的实例方法 */
138
+ export interface MuxHourRef {
139
+ /** 忽略校验,直接获取选中结果 */
140
+ val: () => IMuxHourSelected[];
141
+ /** 获取选中值及校验结果 */
142
+ check: () => IMuxHourCheckResult;
143
+ }
144
+ export declare const QUICK_TYPES: IHourQuickType[];
145
+ export declare const WeekMap: Record<string, string>;
@@ -0,0 +1 @@
1
+ var e=[{text:"\u5168\u65E5\u7A0B",value:"1234567"},{text:"\u5DE5\u4F5C\u65E5",value:"12345"},{text:"\u53CC\u4F11\u65E5",value:"67"}],o={1:"\u5468\u4E00",2:"\u5468\u4E8C",3:"\u5468\u4E09",4:"\u5468\u56DB",5:"\u5468\u4E94",6:"\u5468\u516D",7:"\u5468\u65E5"};export{e as QUICK_TYPES,o as WeekMap};
@@ -0,0 +1,31 @@
1
+ import { IHourCell, IHourPeriod, IMuxHourCheckResult, IMuxHourSelected, IMuxHourTimeSegment, MuxHourGroups, MuxHourMode } from './types';
2
+ /** 将 selected 数组转为 week/date -> 选中小时索引的映射 */
3
+ export declare function buildSelectedMap(selected: IMuxHourSelected[], mode?: MuxHourMode): Record<string, string[]>;
4
+ /** 将 selected 数组转为 week/date -> 时间段配置的映射 */
5
+ export declare function buildSegmentMap(selected: IMuxHourSelected[], mode?: MuxHourMode): Record<string, IMuxHourTimeSegment[]>;
6
+ /** 根据参数构建小时格子列表 */
7
+ export declare function buildHours(min: number, max: number, step: number, hideDecimalText: boolean): Omit<IHourCell, 'selected' | 'firstSelected' | 'endSelected' | 'color'>[];
8
+ /** 获取当前日期所在周的起止日期 */
9
+ export declare function getCurrentWeekRange(): [string, string];
10
+ /** 获取日期范围内的所有日期 */
11
+ export declare function getDatesInRange(startDate: string, endDate: string): string[];
12
+ /** 将 groups 配置解析为时段列表 */
13
+ export declare function parseGroups(groups: MuxHourGroups | undefined, mode: MuxHourMode | undefined, dateRange?: [string, string]): {
14
+ name: string;
15
+ weeks: string[];
16
+ date?: string;
17
+ }[];
18
+ /** 同步时段数据:标记首尾选中状态、全选状态 */
19
+ export declare function syncPeriods(periods: IHourPeriod[]): IHourPeriod[];
20
+ /** 构建完整的时段数据 */
21
+ export declare function buildPeriods(groups: MuxHourGroups | undefined, mode: MuxHourMode | undefined, selected: IMuxHourSelected[], min: number, max: number, step: number, hideDecimalText: boolean, dateRange?: [string, string]): IHourPeriod[];
22
+ /** 深拷贝时段数据 */
23
+ export declare function clonePeriods(periods: IHourPeriod[]): IHourPeriod[];
24
+ /** 将连续选中的格子按相同属性聚合成时间段配置 */
25
+ export declare function buildSegmentsFromHours(hours: IHourCell[]): IMuxHourTimeSegment[];
26
+ /** 根据指定下标获取其所在的选中时间段片段 */
27
+ export declare function buildSegmentFromHour(hours: IHourCell[], hourIndex: number): IMuxHourTimeSegment[];
28
+ /** 获取当前选中结果 */
29
+ export declare function getVal(periods: IHourPeriod[], mode?: MuxHourMode): IMuxHourSelected[];
30
+ /** 校验选中结果 */
31
+ export declare function checkVal(periods: IHourPeriod[], continuous: boolean, minLength: number, maxLength: number, customErrorTip?: string, mode?: MuxHourMode): IMuxHourCheckResult;
@@ -0,0 +1 @@
1
+ import H from'dayjs';var d={1:"\u5468\u4E00",2:"\u5468\u4E8C",3:"\u5468\u4E09",4:"\u5468\u56DB",5:"\u5468\u4E94",6:"\u5468\u516D",7:"\u5468\u65E5"};function T(n,s){let e={},t=s==="range";return n.forEach(o=>{let r=(o.times||[]).flatMap(u=>(u.time||[]).map(l=>l+""));if(t){let u=o.date||o.week.join("");e[u]=r;}else o.week.forEach(u=>{e[u+""]=r;});}),e}function G(n,s){let e={},t=s==="range";return n.forEach(o=>{let r=o.times||[];if(t){let u=o.date||o.week.join("");e[u]=r;}else o.week.forEach(u=>{e[u+""]=r;});}),e}function P(n,s,e,t){let o=[];for(let r=n;r<s;r+=e)o.push({index:r,showText:!t||r%1===0,indexNext:r+e,showNextText:!t||(r+e)%1===0,milestone:r%6===0,zIndex:r/e+10});return o}var S="YYYY-MM-DD";function v(){let n=H(),s=n.startOf("week").add(1,"day"),e=n.endOf("week").add(1,"day");return [s.format(S),e.format(S)]}function E(n,s){let e=[],t=H(n),o=H(s);for(;t.isBefore(o)||t.isSame(o,"day");)e.push(t.format(S)),t=t.add(1,"day");return e}function N(n,s,e){if(n&&n.length>0)return typeof n[0]=="object"?n.map(o=>{let r=o.value.map(u=>u+"");return {name:o.text||"",weeks:r}}):n.map(o=>{let r=o.value.map(l=>l+"");return {name:r.length>1?`${d[r[0]]}\u81F3${d[r[r.length-1]]}`:d[r[0]],weeks:r}});let t=s;if(t||(t="common"),t==="day")return [1,2,3,4,5,6,7].map(o=>({name:d[o+""],weeks:[o+""]}));if(t==="range"){let[o,r]=e&&e[0]&&e[1]?e:v();return E(o,r).map(u=>{let l=(H(u).day()||7)+"";return {name:d[l],weeks:[u],date:u}})}return [{name:"\u5468\u4E00\u81F3\u5468\u4E94",weeks:["1","2","3","4","5"]},{name:"\u5468\u516D\u81F3\u5468\u65E5",weeks:["6","7"]}]}function j(n){return n.forEach(s=>{let e=s.hours,t=true;for(let o=0;o<e.length;o++){let r=e[o],u=e[o-1],l=e[o+1];r.firstSelected=false,r.endSelected=false,r.selected&&((u&&!u.selected||!u)&&(r.firstSelected=true),(l&&!l.selected||!l)&&(r.endSelected=true)),t=t&&r.selected;}s.selected=t;}),n}function q(n,s,e,t,o,r,u,l){let i=s==="range",M=T(e,s),m=G(e,s),c=N(n,s,l),f=P(t,o,r,u),a=null;n&&n.length>0&&typeof n[0]=="object"&&(a=n);let p=c.map((x,h)=>{let k=i&&x.date||x.weeks[0],y=M[k]||[],w=m[k]||[],R=f.map((g,Y)=>{let I=w.find(b=>(b.time||[]).map(C=>C+"").includes(g.index+""));return {...g,selected:y.indexOf(g.index+"")>-1,firstSelected:false,endSelected:false,color:I?.color??a?.[h]?.colors?.find(b=>b.time.includes(g.index))?.color,tips:I?.tips,readonly:I?.readonly}});return {name:x.name,weeks:x.weeks,date:x.date,hours:R,selected:false}});return j(p)}function J(n){return n.map(s=>({...s,hours:s.hours.map(e=>({...e}))}))}function O(n){let s=[],e=null;return n.forEach(t=>{if(!t.selected){e&&(s.push(e),e=null);return}!e||e.color!==t.color||e.tips!==t.tips||e.readonly!==t.readonly?(e&&s.push(e),e={time:[t.index],color:t.color,tips:t.tips,readonly:t.readonly}):e.time.push(t.index);}),e&&s.push(e),s}function X(n,s){let e=n[s];if(!e||!e.selected)return [];let t=u=>u.selected&&u.color===e.color&&u.tips===e.tips&&u.readonly===e.readonly,o=s;for(;o>0&&t(n[o-1]);)o--;let r=s;for(;r<n.length-1&&t(n[r+1]);)r++;return [{time:n.slice(o,r+1).map(u=>u.index),color:e.color,tips:e.tips,readonly:e.readonly}]}function D(n,s){let e=s==="range",t=[];return n.forEach(o=>{let r=O(o.hours);if(e){let u=o.date?[H(o.date).day()||7]:o.weeks.map(l=>+l);t.push({week:u,date:o.date,name:o.name,times:r});}else o.weeks.forEach(u=>{t.push({week:[+u],name:d[u],times:r});});}),t}function Z(n,s,e,t,o,r){let u=D(n,r),l=[];for(let m=0;m<u.length;m++){let c=[],f=u[m].times.flatMap(a=>a.time||[]);f.forEach(a=>{let p=c.length;p===0?c.push(a):c[p-1]+1===a?c[p-1]=a:c.push(a);}),(e>0&&f.length<e||t>0&&f.length>t||s&&c.length>1)&&l.push(u[m].name||"");}let i="",M=l.length===0;return M||(o?i=o:(i=`\u8BF7\u4E3A${l.join("\u3001")}\u9009\u62E9`,e>0&&(i+=`\u81F3\u5C11 ${e} \u4E2A`),t>0&&(i+=`\u81F3\u591A ${t} \u4E2A`),s&&(i+="\u8FDE\u7EED\u7684"),i+="\u65F6\u6BB5")),{ok:M,msg:i,data:u}}export{P as buildHours,q as buildPeriods,X as buildSegmentFromHour,G as buildSegmentMap,O as buildSegmentsFromHours,T as buildSelectedMap,Z as checkVal,J as clonePeriods,v as getCurrentWeekRange,E as getDatesInRange,D as getVal,N as parseGroups,j as syncPeriods};
@@ -1,4 +1,4 @@
1
- import*as g from'react';import g__default,{createContext,useContext}from'react';import Yn from'@ant-design/icons/CloseOutlined';import Jn from'@ant-design/icons/LeftOutlined';import ei from'@ant-design/icons/RightOutlined';import oi from'@ant-design/icons/RotateLeftOutlined';import ti from'@ant-design/icons/RotateRightOutlined';import nt from'@ant-design/icons/SwapOutlined';import ri from'@ant-design/icons/ZoomInOutlined';import ni from'@ant-design/icons/ZoomOutOutlined';import ii from'classnames';import ai from'rc-image';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import'rc-util/lib/warning';import pn from'@ant-design/icons/lib/components/Context';import sn from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import Ar from'rc-picker/lib/locale/en_US';import Gr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import ln from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';var Qe={version:"0.0.2"};var Ye=Qe.version;var he={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},mr={...he,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
1
+ import*as g from'react';import g__default,{createContext,useContext}from'react';import Yn from'@ant-design/icons/CloseOutlined';import Jn from'@ant-design/icons/LeftOutlined';import ei from'@ant-design/icons/RightOutlined';import oi from'@ant-design/icons/RotateLeftOutlined';import ti from'@ant-design/icons/RotateRightOutlined';import nt from'@ant-design/icons/SwapOutlined';import ri from'@ant-design/icons/ZoomInOutlined';import ni from'@ant-design/icons/ZoomOutOutlined';import ii from'classnames';import ai from'rc-image';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import'rc-util/lib/warning';import pn from'@ant-design/icons/lib/components/Context';import sn from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import Ar from'rc-picker/lib/locale/en_US';import Gr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import ln from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';var Qe={version:"0.0.3"};var Ye=Qe.version;var he={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},mr={...he,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
2
2
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
3
3
  'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},I=mr;function Pe(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:s,colorInfo:i,colorPrimary:l,colorBgBase:c,colorTextBase:a}=e,p=o(l),m=o(n),d=o(t),f=o(s),S=o(i),ue=r(c,a),Ce=e.colorLink||e.colorInfo,v=o(Ce),ye=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...ue,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:ye,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:S[1],colorInfoBgHover:S[2],colorInfoBorder:S[3],colorInfoBorderHover:S[4],colorInfoHover:S[4],colorInfo:S[6],colorInfoActive:S[7],colorInfoTextHover:S[8],colorInfoText:S[9],colorInfoTextActive:S[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var dr=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},Je=dr;function ve(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...Je(n)}}var gr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},eo=gr;function oo(e){return (e+8)/e}function Me(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,s=e*Math.E**(t/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:oo(r)}))}var fr=e=>{let o=Me(e),r=o.map(p=>p.size),n=o.map(p=>p.lineHeight),t=r[1],s=r[0],i=r[2],l=n[1],c=n[0],a=n[2];return {fontSizeSM:s,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:a,lineHeightSM:c,fontHeight:Math.round(l*t),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(c*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},to=fr;function we(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var T=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),B=(e,o)=>new TinyColor(e).darken(o).toHexString();var no=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},io=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:T(n,.88),colorTextSecondary:T(n,.65),colorTextTertiary:T(n,.45),colorTextQuaternary:T(n,.25),colorFill:T(n,.15),colorFillSecondary:T(n,.06),colorFillTertiary:T(n,.04),colorFillQuaternary:T(n,.02),colorBgSolid:T(n,1),colorBgSolidHover:T(n,.75),colorBgSolidActive:T(n,.95),colorBgLayout:B(r,4),colorBgContainer:B(r,0),colorBgElevated:B(r,0),colorBgSpotlight:T(n,.85),colorBgBlur:"transparent",colorBorder:B(r,15),colorBorderSecondary:B(r,6)}};function Le(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(he).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,s,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...Pe(e,{generateColorPalettes:no,generateNeutralColorPalettes:io}),...to(e.fontSize),...we(e),...eo(e),...ve(e)}}var ie=createTheme(Le),V={token:I,override:{override:I},hashed:true},K=g__default.createContext(V);function Oe(e){return e>=0&&e<=255}function Sr(e,o){let{r,g:n,b:t,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:l,b:c}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let p=Math.round((r-i*(1-a))/a),m=Math.round((n-l*(1-a))/a),d=Math.round((t-c*(1-a))/a);if(Oe(p)&&Oe(m)&&Oe(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var U=Sr;function se(e){let{override:o,...r}=e,n={...o};Object.keys(I).forEach(d=>{delete n[d];});let t={...r,...n},s=480,i=576,l=768,c=992,a=1200,p=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:U(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:U(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:U(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:U(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
4
4
  0 6px 16px 0 rgba(0, 0, 0, 0.08),
package/es/image/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as f from'react';import f__default,{createContext,useContext}from'react';import gi from'@ant-design/icons/EyeOutlined';import io from'classnames';import mi from'rc-image';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import'rc-util/lib/warning';import un from'@ant-design/icons/lib/components/Context';import dn from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Fr from'rc-pagination/lib/locale/en_US';import Br from'rc-picker/lib/locale/en_US';import Ur from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import gn from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import ri from'@ant-design/icons/CloseOutlined';import ni from'@ant-design/icons/LeftOutlined';import ii from'@ant-design/icons/RightOutlined';import ai from'@ant-design/icons/RotateLeftOutlined';import si from'@ant-design/icons/RotateRightOutlined';import ft from'@ant-design/icons/SwapOutlined';import li from'@ant-design/icons/ZoomInOutlined';import ci from'@ant-design/icons/ZoomOutOutlined';var po={version:"0.0.2"};var mo=po.version;var De={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Cr={...De,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
1
+ import*as f from'react';import f__default,{createContext,useContext}from'react';import gi from'@ant-design/icons/EyeOutlined';import io from'classnames';import mi from'rc-image';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import'rc-util/lib/warning';import un from'@ant-design/icons/lib/components/Context';import dn from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Fr from'rc-pagination/lib/locale/en_US';import Br from'rc-picker/lib/locale/en_US';import Ur from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import gn from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import ri from'@ant-design/icons/CloseOutlined';import ni from'@ant-design/icons/LeftOutlined';import ii from'@ant-design/icons/RightOutlined';import ai from'@ant-design/icons/RotateLeftOutlined';import si from'@ant-design/icons/RotateRightOutlined';import ft from'@ant-design/icons/SwapOutlined';import li from'@ant-design/icons/ZoomInOutlined';import ci from'@ant-design/icons/ZoomOutOutlined';var po={version:"0.0.3"};var mo=po.version;var De={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Cr={...De,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
2
2
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
3
3
  'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},L=Cr;function He(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:s,colorInfo:i,colorPrimary:l,colorBgBase:p,colorTextBase:a}=e,c=o(l),m=o(n),d=o(r),g=o(s),y=o(i),_=t(p,a),D=e.colorLink||e.colorInfo,b=o(D),E=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {..._,colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:E,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var yr=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},go=yr;function Ne(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...go(n)}}var xr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},fo=xr;function uo(e){return (e+8)/e}function Be(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,s=e*Math.E**(r/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:uo(t)}))}var Sr=e=>{let o=Be(e),t=o.map(c=>c.size),n=o.map(c=>c.lineHeight),r=t[1],s=t[0],i=t[2],l=n[1],p=n[0],a=n[2];return {fontSizeSM:s,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:l,lineHeightLG:a,lineHeightSM:p,fontHeight:Math.round(l*r),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(p*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Co=Sr;function We(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var T=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),F=(e,o)=>new TinyColor(e).darken(o).toHexString();var xo=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},So=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:T(n,.88),colorTextSecondary:T(n,.65),colorTextTertiary:T(n,.45),colorTextQuaternary:T(n,.25),colorFill:T(n,.15),colorFillSecondary:T(n,.06),colorFillTertiary:T(n,.04),colorFillQuaternary:T(n,.02),colorBgSolid:T(n,1),colorBgSolidHover:T(n,.75),colorBgSolidActive:T(n,.95),colorBgLayout:F(t,4),colorBgContainer:F(t,0),colorBgElevated:F(t,0),colorBgSpotlight:T(n,.85),colorBgBlur:"transparent",colorBorder:F(t,15),colorBorderSecondary:F(t,6)}};function Ge(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(De).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,s,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...He(e,{generateColorPalettes:xo,generateNeutralColorPalettes:So}),...Co(e.fontSize),...We(e),...fo(e),...Ne(e)}}var ge=createTheme(Ge),Q={token:L,override:{override:L},hashed:true},Y=f__default.createContext(Q);function Xe(e){return e>=0&&e<=255}function vr(e,o){let{r:t,g:n,b:r,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:l,b:p}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let c=Math.round((t-i*(1-a))/a),m=Math.round((n-l*(1-a))/a),d=Math.round((r-p*(1-a))/a);if(Xe(c)&&Xe(m)&&Xe(d))return new TinyColor({r:c,g:m,b:d,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var J=vr;function ue(e){let{override:o,...t}=e,n={...o};Object.keys(L).forEach(d=>{delete n[d];});let r={...t,...n},s=480,i=576,l=768,p=992,a=1200,c=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:J(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:J(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:J(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:J(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
4
4
  0 6px 16px 0 rgba(0, 0, 0, 0.08),
@@ -10,7 +10,7 @@ import {Keyframes,createTheme,unit,useCacheToken}from'@ant-design/cssinjs';impor
10
10
  `]:{opacity:0,animationTimingFunction:"linear"},[`${t}${n}-leave`]:{animationTimingFunction:"linear"}}]};new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});var se=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),le=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),H=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),B=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),ce=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),pe=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),me=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),ge=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),de=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),fe=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),ue=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ye=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),io={zoom:{inKeyframes:se,outKeyframes:le},"zoom-big":{inKeyframes:H,outKeyframes:B},"zoom-big-fast":{inKeyframes:H,outKeyframes:B},"zoom-left":{inKeyframes:me,outKeyframes:ge},"zoom-right":{inKeyframes:de,outKeyframes:fe},"zoom-up":{inKeyframes:ce,outKeyframes:pe},"zoom-down":{inKeyframes:ue,outKeyframes:ye}},w=(e,o)=>{let{antCls:r}=e,n=`${r}-${o}`,{inKeyframes:t,outKeyframes:i}=io[o];return [h(n,t,i,e.motionDurationMid),{[`
11
11
  ${n}-enter,
12
12
  ${n}-appear
13
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function Se(e){return (e+8)/e}function R(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,i=e*Math.E**(t/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:Se(r)}))}var xe={version:"0.0.2"};var Te=xe.version;var F={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},so={...F,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
13
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function Se(e){return (e+8)/e}function R(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,i=e*Math.E**(t/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:Se(r)}))}var xe={version:"0.0.3"};var Te=xe.version;var F={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},so={...F,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
14
14
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
15
15
  'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},T=so;function j(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:i,colorInfo:a,colorPrimary:c,colorBgBase:d,colorTextBase:l}=e,s=o(c),m=o(n),p=o(t),f=o(i),C=o(a),He=r(d,l),Be=e.colorLink||e.colorInfo,L=o(Be),Re=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...He,colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:Re,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:C[1],colorInfoBgHover:C[2],colorInfoBorder:C[3],colorInfoBorderHover:C[4],colorInfoHover:C[4],colorInfo:C[6],colorInfoActive:C[7],colorInfoTextHover:C[8],colorInfoText:C[9],colorInfoTextActive:C[10],colorLinkHover:L[4],colorLink:L[6],colorLinkActive:L[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var lo=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},be=lo;function G(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...be(n)}}var co=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},he=co;var po=e=>{let o=R(e),r=o.map(s=>s.size),n=o.map(s=>s.lineHeight),t=r[1],i=r[0],a=r[2],c=n[1],d=n[0],l=n[2];return {fontSizeSM:i,fontSize:t,fontSizeLG:a,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:c,lineHeightLG:l,lineHeightSM:d,fontHeight:Math.round(c*t),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(d*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Me=po;function X(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var u=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),M=(e,o)=>new TinyColor(e).darken(o).toHexString();var we=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},Pe=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:u(n,.88),colorTextSecondary:u(n,.65),colorTextTertiary:u(n,.45),colorTextQuaternary:u(n,.25),colorFill:u(n,.15),colorFillSecondary:u(n,.06),colorFillTertiary:u(n,.04),colorFillQuaternary:u(n,.02),colorBgSolid:u(n,1),colorBgSolidHover:u(n,.75),colorBgSolidActive:u(n,.95),colorBgLayout:M(r,4),colorBgContainer:M(r,0),colorBgElevated:M(r,0),colorBgSpotlight:u(n,.85),colorBgBlur:"transparent",colorBorder:M(r,15),colorBorderSecondary:M(r,6)}};function K(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(F).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,i,a)=>(t[`${r}-${a+1}`]=n[a],t[`${r}${a+1}`]=n[a],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...j(e,{generateColorPalettes:we,generateNeutralColorPalettes:Pe}),...Me(e.fontSize),...X(e),...he(e),...G(e)}}var ke=createTheme(K),Ie={token:T,override:{override:T},hashed:true},U=fo__default.createContext(Ie);function Z(e){return e>=0&&e<=255}function yo(e,o){let{r,g:n,b:t,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:c,b:d}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let s=Math.round((r-a*(1-l))/l),m=Math.round((n-c*(1-l))/l),p=Math.round((t-d*(1-l))/l);if(Z(s)&&Z(m)&&Z(p))return new TinyColor({r:s,g:m,b:p,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var P=yo;function $(e){let{override:o,...r}=e,n={...o};Object.keys(T).forEach(p=>{delete n[p];});let t={...r,...n},i=480,a=576,c=768,d=992,l=1200,s=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:P(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:P(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:P(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:P(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
16
16
  0 6px 16px 0 rgba(0, 0, 0, 0.08),