tntd 2.8.53 → 2.8.55

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 (1125) hide show
  1. package/es/_util/context.js +16 -11
  2. package/es/_util/defaultRenderEmpty.js +36 -13
  3. package/es/_util/hooks/useFlexGapSupport.js +27 -10
  4. package/es/_util/hooks/useForceUpdate.js +24 -6
  5. package/es/_util/hooks/useScrollLock.js +63 -45
  6. package/es/_util/motion.js +51 -33
  7. package/es/_util/reactNode.js +24 -13
  8. package/es/_util/responsiveObserve.js +68 -56
  9. package/es/_util/styleChecker.js +39 -26
  10. package/es/_util/type.js +18 -3
  11. package/es/_util/warning.js +19 -6
  12. package/es/actions/index.js +32 -11
  13. package/es/affix/index.js +24 -5
  14. package/es/affix/style/index.js +4 -3
  15. package/es/alert/alert.js +147 -0
  16. package/es/alert/alert.js.map +1 -0
  17. package/es/alert/alert.less +128 -0
  18. package/es/alert/index.js +24 -5
  19. package/es/alert/style/index.js +4 -3
  20. package/es/anchor/anchor.js +119 -54
  21. package/es/anchor/index.js +22 -6
  22. package/es/anchor/style/index.js +5 -5
  23. package/es/array-input/index.js +375 -190
  24. package/es/auth-context/index.js +10 -3
  25. package/es/auto-complete/index.js +24 -5
  26. package/es/auto-complete/style/index.js +6 -6
  27. package/es/avatar/index.js +24 -5
  28. package/es/avatar/style/index.js +4 -3
  29. package/es/back-top/index.js +24 -5
  30. package/es/back-top/style/index.js +4 -3
  31. package/es/badge/index.js +24 -5
  32. package/es/badge/style/index.js +4 -3
  33. package/es/breadcrumb/index.js +24 -5
  34. package/es/breadcrumb/style/index.js +6 -5
  35. package/es/button/button.js +51 -26
  36. package/es/button/index.js +22 -6
  37. package/es/button/style/index.js +4 -3
  38. package/es/calendar/index.js +24 -5
  39. package/es/calendar/style/index.js +6 -6
  40. package/es/card/card.js +45 -22
  41. package/es/card/index.js +21 -5
  42. package/es/card/style/index.js +7 -7
  43. package/es/carousel/index.js +24 -5
  44. package/es/carousel/style/index.js +4 -3
  45. package/es/cascader/cascader.js +84 -0
  46. package/es/cascader/cascader.js.map +1 -0
  47. package/es/cascader/cascader.less +16 -0
  48. package/es/cascader/index.js +29 -8
  49. package/es/cascader/style/index.js +6 -6
  50. package/es/check-card/group.js +226 -144
  51. package/es/check-card/index.js +168 -115
  52. package/es/checkbox/check.png +0 -0
  53. package/es/checkbox/checkbox-group.js +12 -6
  54. package/es/checkbox/checkbox.js +100 -0
  55. package/es/checkbox/checkbox.js.map +1 -0
  56. package/es/checkbox/checkbox.less +69 -0
  57. package/es/checkbox/index.js +38 -8
  58. package/es/checkbox/style/index.js +4 -3
  59. package/es/col/index.js +24 -5
  60. package/es/col/style/index.js +4 -5
  61. package/es/collapse/index.js +25 -6
  62. package/es/collapse/style/index.js +4 -3
  63. package/es/color-picker/ColorPicker.js +155 -89
  64. package/es/color-picker/index.js +21 -11
  65. package/es/columns/index.js +78 -35
  66. package/es/columns/style/index.js +1 -2
  67. package/es/comment/index.js +24 -5
  68. package/es/comment/style/index.js +4 -3
  69. package/es/config-provider/DisabledContext.js +19 -7
  70. package/es/config-provider/SizeContext.js +21 -5
  71. package/es/config-provider/config-provider.js +13 -3
  72. package/es/config-provider/index.js +85 -9
  73. package/es/config-provider/index.js.map +1 -1
  74. package/es/config-provider/style/index.js +3 -2
  75. package/es/connect/index.js +42 -24
  76. package/es/date-picker/DatePicker.js +163 -0
  77. package/es/date-picker/DatePicker.js.map +1 -0
  78. package/es/date-picker/index.js +47 -13
  79. package/es/date-picker/index.less +294 -0
  80. package/es/date-picker/style/index.js +7 -8
  81. package/es/descriptions/descriptions.js +140 -73
  82. package/es/descriptions/index.js +22 -6
  83. package/es/descriptions/style/index.js +4 -3
  84. package/es/development-login/LoginModal.js +112 -54
  85. package/es/development-login/index.js +44 -11
  86. package/es/divider/index.js +24 -5
  87. package/es/divider/style/index.js +4 -3
  88. package/es/drawer/drawer.js +144 -73
  89. package/es/drawer/index.js +23 -6
  90. package/es/drawer/style/index.js +4 -4
  91. package/es/dropdown/index.js +24 -5
  92. package/es/dropdown/style/index.js +5 -5
  93. package/es/ellipsis/Svg/CopySVG.js +71 -17
  94. package/es/ellipsis/Svg/TickSVG.js +49 -12
  95. package/es/ellipsis/index.js +191 -119
  96. package/es/empty/empty.js +89 -57
  97. package/es/empty/empty.stories.js +20 -14
  98. package/es/empty/index.js +22 -6
  99. package/es/empty/style/index.js +4 -3
  100. package/es/exception/exception.js +46 -25
  101. package/es/exception/index.js +21 -5
  102. package/es/form/form.js +95 -58
  103. package/es/form/index.js +21 -5
  104. package/es/form/style/index.js +5 -5
  105. package/es/grid/index.js +24 -5
  106. package/es/grid/style/index.js +4 -3
  107. package/es/grid-v4/RowContext.js +9 -4
  108. package/es/grid-v4/col.js +92 -70
  109. package/es/grid-v4/hooks/useBreakpoint.js +27 -18
  110. package/es/grid-v4/index.js +27 -10
  111. package/es/grid-v4/row.js +174 -132
  112. package/es/grid-v4/style/index.js +3 -3
  113. package/es/handle/index.js +166 -103
  114. package/es/handle-icon/index.js +225 -156
  115. package/es/icon/IconFont.js +58 -50
  116. package/es/icon/components/Icon.js +130 -75
  117. package/es/icon/components/index.js +13 -2
  118. package/es/icon/components/utils.js +107 -68
  119. package/es/icon/index.js +118 -91
  120. package/es/icon/style/index.js +5 -4
  121. package/es/icon/twoTonePrimaryColor.js +17 -10
  122. package/es/icon/utils.js +68 -63
  123. package/es/icon-list/index.js +7 -120
  124. package/es/icon-old/index.js +24 -5
  125. package/es/icon-old/style/index.js +4 -3
  126. package/es/img/Contain.js +68 -41
  127. package/es/img/Cover.js +116 -75
  128. package/es/img/index.js +74 -35
  129. package/es/index.js +748 -113
  130. package/es/index.js.map +1 -1
  131. package/es/input/index.js +22 -6
  132. package/es/input/input.js +106 -61
  133. package/es/input/style/index.js +5 -5
  134. package/es/input-number/index.js +50 -26
  135. package/es/input-number/inputNumber.js +89 -0
  136. package/es/input-number/inputNumber.js.map +1 -0
  137. package/es/input-number/inputNumber.less +12 -0
  138. package/es/input-number/style/index.js +4 -3
  139. package/es/label/index.js +131 -111
  140. package/es/layout/index.js +24 -5
  141. package/es/layout/style/index.js +4 -3
  142. package/es/list/index.js +24 -5
  143. package/es/list/style/index.js +8 -8
  144. package/es/loading-button/index.js +58 -30
  145. package/es/locale/default.js +12 -6
  146. package/es/locale/en_US.js +81 -74
  147. package/es/locale/index.js +38 -4
  148. package/es/locale/zh_CN.js +73 -67
  149. package/es/locale-provider/index.js +27 -8
  150. package/es/locale-provider/style/index.js +3 -2
  151. package/es/mentions/index.js +24 -5
  152. package/es/mentions/style/index.js +5 -5
  153. package/es/menu/index.js +24 -5
  154. package/es/menu/style/index.js +5 -6
  155. package/es/message/index.js +25 -6
  156. package/es/message/style/index.js +4 -3
  157. package/es/modal/index.js +22 -6
  158. package/es/modal/index.less +36 -0
  159. package/es/modal/modal.js +97 -36
  160. package/es/modal/style/index.js +5 -5
  161. package/es/notification/assets/index.js +20 -3
  162. package/es/notification/assets/svg-error-tip.js +152 -33
  163. package/es/notification/assets/svg-success-tip.js +169 -37
  164. package/es/notification/index.js +23 -5
  165. package/es/notification/notification.js +104 -23
  166. package/es/notification/style/index.js +4 -3
  167. package/es/page/Box.js +64 -36
  168. package/es/page/index.js +145 -92
  169. package/es/page/utils.js +22 -14
  170. package/es/page-container/index.js +22 -10
  171. package/es/page-header/index.js +24 -5
  172. package/es/page-header/style/index.js +5 -5
  173. package/es/page-loading/index.js +33 -24
  174. package/es/page-loading/loading.gif +0 -0
  175. package/es/pagination/index.js +24 -5
  176. package/es/pagination/style/index.js +5 -5
  177. package/es/popconfirm/index.js +24 -5
  178. package/es/popconfirm/index.less +32 -0
  179. package/es/popconfirm/popconfirm.js +96 -0
  180. package/es/popconfirm/popconfirm.js.map +1 -0
  181. package/es/popconfirm/style/index.js +5 -6
  182. package/es/popover/index.js +24 -5
  183. package/es/popover/index.less +57 -0
  184. package/es/popover/popover.js +90 -0
  185. package/es/popover/popover.js.map +1 -0
  186. package/es/popover/style/index.js +4 -5
  187. package/es/prev-locale.js +195 -131
  188. package/es/prev-locale.js.map +1 -1
  189. package/es/preview-text/index.js +264 -183
  190. package/es/progress/index.js +24 -5
  191. package/es/progress/progress.js +179 -0
  192. package/es/progress/progress.js.map +1 -0
  193. package/es/progress/progress.less +82 -0
  194. package/es/progress/style/index.js +4 -3
  195. package/es/query-form/Field/Checkbox.js +27 -19
  196. package/es/query-form/Field/Select.js +79 -43
  197. package/es/query-form/Field/SelectInput.js +98 -51
  198. package/es/query-form/Field/fieldsMap.js +52 -47
  199. package/es/query-form/Field/index.js +142 -70
  200. package/es/query-form/createActions.js +54 -47
  201. package/es/query-form/index.js +377 -261
  202. package/es/query-form/useForm.js +13 -7
  203. package/es/query-form-backup/Field/Composition/FieldPopover.less +35 -0
  204. package/es/query-form-backup/Field/Composition/index.less +114 -0
  205. package/es/query-form-backup/index.less +90 -0
  206. package/es/query-list-scene/List.js +357 -262
  207. package/es/query-list-scene/QueryForm.js +157 -98
  208. package/es/query-list-scene/QueryListScene.js +63 -26
  209. package/es/query-list-scene/Title.js +15 -5
  210. package/es/query-list-scene/Toolbar.js +30 -17
  211. package/es/query-list-scene/createActions.js +80 -61
  212. package/es/query-list-scene/index.js +26 -20
  213. package/es/query-list-scene/useActions.js +13 -7
  214. package/es/radio/index.js +27 -7
  215. package/es/radio/radio-group.js +12 -6
  216. package/es/radio/radio.js +110 -0
  217. package/es/radio/radio.js.map +1 -0
  218. package/es/radio/radio.less +43 -0
  219. package/es/radio/style/index.js +4 -3
  220. package/es/rate/index.js +24 -5
  221. package/es/rate/style/index.js +5 -5
  222. package/es/render-empty/index.js +8 -3
  223. package/es/render-empty/render-empty.js +29 -17
  224. package/es/result/index.js +24 -5
  225. package/es/result/style/index.js +4 -3
  226. package/es/row/index.js +24 -5
  227. package/es/row/style/index.js +4 -5
  228. package/es/scroll-bar/Bar.js +90 -47
  229. package/es/scroll-bar/Context.js +12 -6
  230. package/es/scroll-bar/ScrollBar.js +91 -62
  231. package/es/scroll-bar/Thumb.js +125 -108
  232. package/es/scroll-bar/index.js +10 -4
  233. package/es/scroll-bar/util.js +38 -27
  234. package/es/segmented/index.js +69 -43
  235. package/es/select/index.js +23 -6
  236. package/es/select/select.js +64 -39
  237. package/es/select/style/index.js +5 -5
  238. package/es/skeleton/index.js +24 -5
  239. package/es/skeleton/style/index.js +4 -3
  240. package/es/slider/index.js +24 -5
  241. package/es/slider/style/index.js +5 -5
  242. package/es/spin/index.js +24 -5
  243. package/es/spin/spin.js +79 -0
  244. package/es/spin/spin.js.map +1 -0
  245. package/es/spin/spin.less +9 -0
  246. package/es/spin/style/index.js +4 -3
  247. package/es/statistic/index.js +24 -5
  248. package/es/statistic/style/index.js +4 -3
  249. package/es/steps/assets/background_left.svg +12 -0
  250. package/es/steps/assets/background_right.svg +12 -0
  251. package/es/steps/assets/horizontal_line.svg +3 -0
  252. package/es/steps/assets/vertical_line.svg +3 -0
  253. package/es/steps/index.js +23 -7
  254. package/es/steps/stepStyle/icon.less +51 -0
  255. package/es/steps/stepStyle/progress-dot.less +10 -0
  256. package/es/steps/stepStyle/variables.less +8 -0
  257. package/es/steps/stepStyle/vertical.less +41 -0
  258. package/es/steps/steps.js +72 -45
  259. package/es/steps/style/index.js +4 -3
  260. package/es/style/index.js +3 -2
  261. package/es/style/v2-compatible-reset.js +3 -2
  262. package/es/svg-components/illustration-403.js +218 -61
  263. package/es/svg-components/illustration-404.js +302 -78
  264. package/es/svg-components/illustration-500.js +333 -86
  265. package/es/svg-components/illustration-empty.js +66 -18
  266. package/es/svg-components/illustration-failure.js +124 -39
  267. package/es/svg-components/illustration-no-access.js +126 -38
  268. package/es/svg-components/illustration-no-chart.js +146 -40
  269. package/es/svg-components/illustration-no-result.js +104 -35
  270. package/es/svg-components/illustration-offline.js +179 -41
  271. package/es/svg-components/illustration-success.js +149 -46
  272. package/es/svg-components/index.js +76 -11
  273. package/es/switch/index.js +23 -4
  274. package/es/switch/index.less +45 -0
  275. package/es/switch/style/index.js +4 -3
  276. package/es/switch/switch.js +34 -8
  277. package/es/table/assets/image-loading-background.js +57 -20
  278. package/es/table/assets/image-loading.js +38 -8
  279. package/es/table/constants.js +7 -2
  280. package/es/table/context.js +8 -3
  281. package/es/table/hooks/index.js +27 -3
  282. package/es/table/hooks/use-column-setting.js +39 -19
  283. package/es/table/hooks/use-expand-fixed.js +106 -82
  284. package/es/table/index.js +23 -7
  285. package/es/table/resizableTable/index.js +139 -78
  286. package/es/table/style/index.js +10 -11
  287. package/es/table/table-hoc.js +28 -24
  288. package/es/table/table.js +242 -181
  289. package/es/table/table.stories.js +586 -366
  290. package/es/table/total-shower.js +16 -6
  291. package/es/table/utils.js +37 -56
  292. package/es/table-container/index.js +21 -9
  293. package/es/tabs/index.js +21 -5
  294. package/es/tabs/style/index.js +4 -3
  295. package/es/tabs/tabPane.js +1 -2
  296. package/es/tabs/tabs.js +66 -35
  297. package/es/tabs/tabs.less +125 -0
  298. package/es/tabs-container/index.js +22 -10
  299. package/es/tag/index.js +22 -6
  300. package/es/tag/style/index.js +4 -3
  301. package/es/tag/tag.js +165 -123
  302. package/es/time-picker/TimePicker.js +90 -0
  303. package/es/time-picker/TimePicker.js.map +1 -0
  304. package/es/time-picker/index.js +26 -7
  305. package/es/time-picker/index.less +38 -0
  306. package/es/time-picker/style/index.js +4 -3
  307. package/es/timeline/index.js +24 -5
  308. package/es/timeline/style/index.js +4 -3
  309. package/es/title/index.js +62 -28
  310. package/es/tntd-action/Action.js +218 -0
  311. package/es/tntd-action/Action.js.map +1 -0
  312. package/es/tntd-action/index.js +11 -5
  313. package/es/tntd-action/index.less +70 -0
  314. package/es/tntd-action_backup/index.less +114 -0
  315. package/es/tntd-cascader/AntdCascader/component/DisabledContext.js +19 -7
  316. package/es/tntd-cascader/AntdCascader/component/FormItemInputContext.js +11 -3
  317. package/es/tntd-cascader/AntdCascader/component/SizeContext.js +11 -3
  318. package/es/tntd-cascader/AntdCascader/component/context.js +16 -11
  319. package/es/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +31 -13
  320. package/es/tntd-cascader/AntdCascader/component/getIcons.js +79 -51
  321. package/es/tntd-cascader/AntdCascader/component/useCompactItemContext.js +32 -24
  322. package/es/tntd-cascader/AntdCascader/config/utils.js +29 -21
  323. package/es/tntd-cascader/AntdCascader/config/warning.js +20 -12
  324. package/es/tntd-cascader/AntdCascader/index.js +214 -136
  325. package/es/tntd-cascader/AntdCascader/interface.js +15 -5
  326. package/es/tntd-cascader/index.js +13 -2
  327. package/es/tntd-cascader/rc-cascader/Cascader.js +330 -262
  328. package/es/tntd-cascader/rc-cascader/OptionList/Checkbox.js +31 -14
  329. package/es/tntd-cascader/rc-cascader/OptionList/Column.js +216 -140
  330. package/es/tntd-cascader/rc-cascader/OptionList/index.js +225 -138
  331. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +41 -23
  332. package/es/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +180 -141
  333. package/es/tntd-cascader/rc-cascader/context.js +13 -4
  334. package/es/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +64 -41
  335. package/es/tntd-cascader/rc-cascader/hooks/useEntities.js +41 -27
  336. package/es/tntd-cascader/rc-cascader/hooks/useMissingValues.js +28 -19
  337. package/es/tntd-cascader/rc-cascader/hooks/useRefFunc.js +19 -10
  338. package/es/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +33 -25
  339. package/es/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +76 -43
  340. package/es/tntd-cascader/rc-cascader/index.js +9 -3
  341. package/es/tntd-cascader/rc-cascader/utils/commonUtil.js +53 -36
  342. package/es/tntd-cascader/rc-cascader/utils/treeUtil.js +44 -36
  343. package/es/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +35 -25
  344. package/es/tntd-checkbox-select/index.js +249 -143
  345. package/es/tntd-form/ErrorList.js +101 -50
  346. package/es/tntd-form/Form.js +168 -110
  347. package/es/tntd-form/FormItem/ItemHolder.js +149 -126
  348. package/es/tntd-form/FormItem/index.js +289 -226
  349. package/es/tntd-form/FormItemInput.js +89 -36
  350. package/es/tntd-form/FormItemLabel.js +99 -70
  351. package/es/tntd-form/FormList.js +51 -32
  352. package/es/tntd-form/context.js +46 -32
  353. package/es/tntd-form/hooks/useDebounce.js +31 -14
  354. package/es/tntd-form/hooks/useForm.js +59 -31
  355. package/es/tntd-form/hooks/useFormInstance.js +13 -7
  356. package/es/tntd-form/hooks/useFormItemStatus.js +18 -9
  357. package/es/tntd-form/hooks/useFrameState.js +55 -37
  358. package/es/tntd-form/hooks/useItemRef.js +27 -18
  359. package/es/tntd-form/index.js +26 -17
  360. package/es/tntd-form/interface.js +7 -3
  361. package/es/tntd-form/style/index.js +6 -6
  362. package/es/tntd-form/util.js +21 -17
  363. package/es/tntd-form/validateMessagesContext.js +8 -3
  364. package/es/tntd-icon/fonts/iconfont.js +36 -53
  365. package/es/tntd-icon/index.js +40 -21
  366. package/es/tntd-layout/ActionsContext.js +8 -3
  367. package/es/tntd-layout/AppList.js +175 -199
  368. package/es/tntd-layout/Application.js +77 -86
  369. package/es/tntd-layout/Avatar.js +102 -110
  370. package/es/tntd-layout/CompatibleLanguage.js +130 -155
  371. package/es/tntd-layout/EnterpriseLayout/Avatar.js +118 -120
  372. package/es/tntd-layout/EnterpriseLayout/Language.js +74 -64
  373. package/es/tntd-layout/EnterpriseLayout/Theme.js +72 -78
  374. package/es/tntd-layout/EnterpriseLayout/index.js +28 -13
  375. package/es/tntd-layout/GlobalNavigation/NavigationPopup.js +285 -251
  376. package/es/tntd-layout/GlobalNavigation/index.js +110 -90
  377. package/es/tntd-layout/Header.js +78 -106
  378. package/es/tntd-layout/HeaderActions.js +106 -81
  379. package/es/tntd-layout/HeaderNavs.js +76 -80
  380. package/es/tntd-layout/HeaderTabs.js +222 -289
  381. package/es/tntd-layout/Iconfont.js +12 -4
  382. package/es/tntd-layout/Language.js +71 -51
  383. package/es/tntd-layout/Layout.js +216 -146
  384. package/es/tntd-layout/Logo.js +71 -115
  385. package/es/tntd-layout/OrgAppList.js +240 -363
  386. package/es/tntd-layout/SideMenu.js +269 -383
  387. package/es/tntd-layout/Theme.js +77 -68
  388. package/es/tntd-layout/createActions.js +46 -31
  389. package/es/tntd-layout/images/index.js +67 -62
  390. package/es/tntd-layout/index.js +135 -77
  391. package/es/tntd-layout/paaslayout/CompactSideMenu.js +132 -156
  392. package/es/tntd-layout/paaslayout/Header.js +53 -50
  393. package/es/tntd-layout/paaslayout/Logo.js +16 -23
  394. package/es/tntd-layout/paaslayout/SideMenu.js +132 -121
  395. package/es/tntd-layout/paaslayout/index.js +208 -117
  396. package/es/tntd-layout/storage.js +58 -24
  397. package/es/tntd-modal/index.js +97 -37
  398. package/es/tntd-rc-select/_util/DisabledContext.js +19 -7
  399. package/es/tntd-rc-select/_util/FormItemInputContext.js +11 -3
  400. package/es/tntd-rc-select/_util/PurePanel.js +87 -52
  401. package/es/tntd-rc-select/_util/SizeContext.js +11 -3
  402. package/es/tntd-rc-select/_util/context.js +16 -11
  403. package/es/tntd-rc-select/_util/defaultRenderEmpty.js +36 -13
  404. package/es/tntd-rc-select/_util/getIcons.js +82 -51
  405. package/es/tntd-rc-select/_util/interface.js +15 -5
  406. package/es/tntd-rc-select/_util/motion.js +51 -33
  407. package/es/tntd-rc-select/_util/type.js +18 -3
  408. package/es/tntd-rc-select/_util/useCompactItemContext.js +32 -24
  409. package/es/tntd-rc-select/_util/warning.js +20 -12
  410. package/es/tntd-rc-select/index.js +153 -98
  411. package/es/tntd-reference/AHref/index.js +43 -34
  412. package/es/tntd-reference/ReferenceBatchCheck/index.js +164 -96
  413. package/es/tntd-reference/ReferenceBatchDrawer/index.js +124 -58
  414. package/es/tntd-reference/ReferenceCheck/index.js +125 -71
  415. package/es/tntd-reference/ReferenceDrawer/index.js +91 -43
  416. package/es/tntd-reference/ReferenceInfo/index.js +161 -91
  417. package/es/tntd-reference/index.js +20 -14
  418. package/es/tntd-second-page/index.js +62 -29
  419. package/es/tntd-select/DropDownWrap.js +101 -54
  420. package/es/tntd-select/index.js +652 -523
  421. package/es/tntd-select/index.less +7 -0
  422. package/es/tntd-virtual-tree/index.js +307 -199
  423. package/es/tntd-virtual-tree/utils.js +264 -184
  424. package/es/tntd-virtual-tree-select/index.js +206 -125
  425. package/es/tntd-virtual-tree-select/utils.js +69 -40
  426. package/es/tooltip/index.js +25 -6
  427. package/es/tooltip/style/index.js +4 -3
  428. package/es/tooltip/tooltip.js +64 -34
  429. package/es/transfer/index.js +24 -5
  430. package/es/transfer/style/index.js +8 -8
  431. package/es/tree/index.js +24 -5
  432. package/es/tree/style/index.js +4 -3
  433. package/es/tree-select/index.js +30 -9
  434. package/es/tree-select/style/index.js +6 -7
  435. package/es/typography/index.js +24 -5
  436. package/es/typography/style/index.js +6 -6
  437. package/es/upload/index.js +220 -116
  438. package/es/upload/style/index.js +6 -6
  439. package/es/upload/svg/UploadSVG.js +44 -14
  440. package/es/utils/checkAuth.js +34 -21
  441. package/es/utils/findMenuInfoByPath.js +41 -32
  442. package/es/utils/index.js +149 -71
  443. package/es/utils/lang.js +78 -118
  444. package/es/utils/simple-template.js +12 -4
  445. package/es/version/index.js +24 -5
  446. package/es/version/style/index.js +3 -3
  447. package/es/water-mark/index.js +131 -90
  448. package/lib/_util/context.js +19 -16
  449. package/lib/_util/defaultRenderEmpty.js +69 -39
  450. package/lib/_util/defaultRenderEmpty.js.map +1 -1
  451. package/lib/_util/hooks/useFlexGapSupport.js +98 -33
  452. package/lib/_util/hooks/useForceUpdate.js +94 -29
  453. package/lib/_util/hooks/useScrollLock.js +104 -46
  454. package/lib/_util/motion.js +50 -36
  455. package/lib/_util/reactNode.js +50 -37
  456. package/lib/_util/responsiveObserve.js +94 -58
  457. package/lib/_util/styleChecker.js +41 -32
  458. package/lib/_util/type.js +16 -6
  459. package/lib/_util/warning.js +48 -30
  460. package/lib/actions/index.js +34 -14
  461. package/lib/affix/index.d.ts +2 -2
  462. package/lib/affix/index.js +52 -21
  463. package/lib/affix/index.js.map +1 -1
  464. package/lib/affix/style/index.js +2 -3
  465. package/lib/alert/alert.d.ts +12 -0
  466. package/lib/alert/alert.d.ts.map +1 -0
  467. package/lib/alert/alert.js +147 -0
  468. package/lib/alert/alert.js.map +1 -0
  469. package/lib/alert/alert.less +128 -0
  470. package/lib/alert/index.d.ts +2 -2
  471. package/lib/alert/index.js +52 -21
  472. package/lib/alert/index.js.map +1 -1
  473. package/lib/alert/style/index.js +2 -3
  474. package/lib/anchor/anchor.d.ts +4 -4
  475. package/lib/anchor/anchor.js +194 -84
  476. package/lib/anchor/anchor.js.map +1 -1
  477. package/lib/anchor/index.js +19 -19
  478. package/lib/anchor/style/index.js +2 -4
  479. package/lib/array-input/index.js +475 -215
  480. package/lib/array-input/index.js.map +1 -1
  481. package/lib/auth-context/index.js +9 -4
  482. package/lib/auto-complete/index.d.ts +2 -2
  483. package/lib/auto-complete/index.js +52 -21
  484. package/lib/auto-complete/index.js.map +1 -1
  485. package/lib/auto-complete/style/index.js +2 -4
  486. package/lib/avatar/index.d.ts +2 -2
  487. package/lib/avatar/index.js +52 -21
  488. package/lib/avatar/index.js.map +1 -1
  489. package/lib/avatar/style/index.js +2 -3
  490. package/lib/back-top/index.d.ts +2 -2
  491. package/lib/back-top/index.js +52 -21
  492. package/lib/back-top/index.js.map +1 -1
  493. package/lib/back-top/style/index.js +2 -3
  494. package/lib/badge/index.d.ts +2 -2
  495. package/lib/badge/index.js +52 -21
  496. package/lib/badge/index.js.map +1 -1
  497. package/lib/badge/style/index.js +2 -3
  498. package/lib/breadcrumb/index.d.ts +2 -2
  499. package/lib/breadcrumb/index.js +52 -21
  500. package/lib/breadcrumb/index.js.map +1 -1
  501. package/lib/breadcrumb/style/index.js +2 -3
  502. package/lib/button/button.d.ts +4 -4
  503. package/lib/button/button.js +79 -55
  504. package/lib/button/button.js.map +1 -1
  505. package/lib/button/index.js +19 -19
  506. package/lib/button/style/index.js +2 -3
  507. package/lib/calendar/index.d.ts +2 -2
  508. package/lib/calendar/index.js +52 -21
  509. package/lib/calendar/index.js.map +1 -1
  510. package/lib/calendar/style/index.js +2 -4
  511. package/lib/card/card.d.ts +3 -3
  512. package/lib/card/card.js +73 -51
  513. package/lib/card/card.js.map +1 -1
  514. package/lib/card/index.js +19 -19
  515. package/lib/card/style/index.js +2 -4
  516. package/lib/carousel/index.d.ts +2 -2
  517. package/lib/carousel/index.js +52 -21
  518. package/lib/carousel/index.js.map +1 -1
  519. package/lib/carousel/style/index.js +2 -3
  520. package/lib/cascader/cascader.d.ts +10 -0
  521. package/lib/cascader/cascader.d.ts.map +1 -0
  522. package/lib/cascader/cascader.js +84 -0
  523. package/lib/cascader/cascader.js.map +1 -0
  524. package/lib/cascader/cascader.less +16 -0
  525. package/lib/cascader/index.d.ts +2 -2
  526. package/lib/cascader/index.js +57 -25
  527. package/lib/cascader/index.js.map +1 -1
  528. package/lib/cascader/style/index.js +2 -4
  529. package/lib/check-card/group.js +309 -172
  530. package/lib/check-card/index.js +262 -141
  531. package/lib/checkbox/check.png +0 -0
  532. package/lib/checkbox/checkbox-group.d.ts +1 -1
  533. package/lib/checkbox/checkbox-group.js +14 -9
  534. package/lib/checkbox/checkbox-group.js.map +1 -1
  535. package/lib/checkbox/checkbox.d.ts +16 -0
  536. package/lib/checkbox/checkbox.d.ts.map +1 -0
  537. package/lib/checkbox/checkbox.js +100 -0
  538. package/lib/checkbox/checkbox.js.map +1 -0
  539. package/lib/checkbox/checkbox.less +69 -0
  540. package/lib/checkbox/index.d.ts +2 -2
  541. package/lib/checkbox/index.js +66 -24
  542. package/lib/checkbox/index.js.map +1 -1
  543. package/lib/checkbox/style/index.js +2 -3
  544. package/lib/col/index.d.ts +2 -2
  545. package/lib/col/index.js +52 -21
  546. package/lib/col/index.js.map +1 -1
  547. package/lib/col/style/index.js +2 -5
  548. package/lib/collapse/index.d.ts +2 -2
  549. package/lib/collapse/index.js +54 -23
  550. package/lib/collapse/index.js.map +1 -1
  551. package/lib/collapse/style/index.js +2 -3
  552. package/lib/color-picker/ColorPicker.js +248 -115
  553. package/lib/color-picker/index.js +21 -13
  554. package/lib/color-picker/index.js.map +1 -1
  555. package/lib/columns/index.js +82 -42
  556. package/lib/columns/style/index.js +1 -2
  557. package/lib/comment/index.d.ts +2 -2
  558. package/lib/comment/index.js +52 -21
  559. package/lib/comment/index.js.map +1 -1
  560. package/lib/comment/style/index.js +2 -3
  561. package/lib/config-provider/DisabledContext.js +48 -32
  562. package/lib/config-provider/SizeContext.js +49 -29
  563. package/lib/config-provider/config-provider.d.ts +1 -1
  564. package/lib/config-provider/config-provider.js +16 -8
  565. package/lib/config-provider/config-provider.js.map +1 -1
  566. package/lib/config-provider/index.d.ts +28 -3
  567. package/lib/config-provider/index.d.ts.map +1 -1
  568. package/lib/config-provider/index.js +116 -24
  569. package/lib/config-provider/index.js.map +1 -1
  570. package/lib/config-provider/style/index.js +2 -3
  571. package/lib/connect/index.js +41 -29
  572. package/lib/date-picker/DatePicker.d.ts +21 -0
  573. package/lib/date-picker/DatePicker.d.ts.map +1 -0
  574. package/lib/date-picker/DatePicker.js +163 -0
  575. package/lib/date-picker/DatePicker.js.map +1 -0
  576. package/lib/date-picker/index.d.ts +3 -3
  577. package/lib/date-picker/index.js +76 -31
  578. package/lib/date-picker/index.js.map +1 -1
  579. package/lib/date-picker/index.less +294 -0
  580. package/lib/date-picker/style/index.js +2 -5
  581. package/lib/descriptions/descriptions.d.ts +4 -4
  582. package/lib/descriptions/descriptions.js +191 -102
  583. package/lib/descriptions/descriptions.js.map +1 -1
  584. package/lib/descriptions/index.js +22 -22
  585. package/lib/descriptions/index.js.map +1 -1
  586. package/lib/descriptions/style/index.js +2 -3
  587. package/lib/development-login/LoginModal.js +206 -80
  588. package/lib/development-login/index.js +116 -35
  589. package/lib/divider/index.d.ts +2 -2
  590. package/lib/divider/index.js +52 -21
  591. package/lib/divider/index.js.map +1 -1
  592. package/lib/divider/style/index.js +2 -3
  593. package/lib/drawer/drawer.d.ts +2 -2
  594. package/lib/drawer/drawer.js +195 -100
  595. package/lib/drawer/drawer.js.map +1 -1
  596. package/lib/drawer/index.d.ts +1 -1
  597. package/lib/drawer/index.js +20 -19
  598. package/lib/drawer/index.js.map +1 -1
  599. package/lib/drawer/style/index.js +2 -4
  600. package/lib/dropdown/index.d.ts +2 -2
  601. package/lib/dropdown/index.js +52 -21
  602. package/lib/dropdown/index.js.map +1 -1
  603. package/lib/dropdown/style/index.js +2 -4
  604. package/lib/ellipsis/Svg/CopySVG.js +74 -21
  605. package/lib/ellipsis/Svg/TickSVG.js +52 -16
  606. package/lib/ellipsis/index.js +268 -147
  607. package/lib/empty/empty.d.ts +2 -2
  608. package/lib/empty/empty.js +140 -75
  609. package/lib/empty/empty.js.map +1 -1
  610. package/lib/empty/empty.stories.js +28 -19
  611. package/lib/empty/index.js +19 -19
  612. package/lib/empty/style/index.js +2 -3
  613. package/lib/exception/exception.js +49 -31
  614. package/lib/exception/exception.js.map +1 -1
  615. package/lib/exception/index.js +18 -18
  616. package/lib/form/form.d.ts +4 -4
  617. package/lib/form/form.js +145 -86
  618. package/lib/form/form.js.map +1 -1
  619. package/lib/form/index.js +19 -19
  620. package/lib/form/style/index.js +2 -4
  621. package/lib/grid/index.d.ts +2 -2
  622. package/lib/grid/index.js +52 -21
  623. package/lib/grid/index.js.map +1 -1
  624. package/lib/grid/style/index.js +2 -3
  625. package/lib/grid-v4/RowContext.js +8 -5
  626. package/lib/grid-v4/col.js +144 -96
  627. package/lib/grid-v4/hooks/useBreakpoint.js +30 -22
  628. package/lib/grid-v4/index.js +29 -15
  629. package/lib/grid-v4/row.js +268 -158
  630. package/lib/grid-v4/style/index.js +2 -4
  631. package/lib/handle/index.js +199 -129
  632. package/lib/handle/index.js.map +1 -1
  633. package/lib/handle-icon/index.js +258 -182
  634. package/lib/handle-icon/index.js.map +1 -1
  635. package/lib/icon/IconFont.js +91 -77
  636. package/lib/icon/components/Icon.js +224 -98
  637. package/lib/icon/components/index.js +16 -8
  638. package/lib/icon/components/utils.js +154 -94
  639. package/lib/icon/index.js +188 -117
  640. package/lib/icon/index.js.map +1 -1
  641. package/lib/icon/style/index.js +2 -3
  642. package/lib/icon/twoTonePrimaryColor.js +18 -15
  643. package/lib/icon/utils.js +67 -68
  644. package/lib/icon-list/index.js +6 -121
  645. package/lib/icon-old/index.d.ts +2 -2
  646. package/lib/icon-old/index.js +52 -21
  647. package/lib/icon-old/index.js.map +1 -1
  648. package/lib/icon-old/style/index.js +2 -3
  649. package/lib/img/Contain.js +71 -45
  650. package/lib/img/Cover.js +192 -79
  651. package/lib/img/index.js +149 -61
  652. package/lib/index.d.ts +1 -0
  653. package/lib/index.d.ts.map +1 -1
  654. package/lib/index.js +750 -224
  655. package/lib/index.js.map +1 -1
  656. package/lib/input/index.js +19 -19
  657. package/lib/input/input.d.ts +5 -5
  658. package/lib/input/input.js +162 -92
  659. package/lib/input/input.js.map +1 -1
  660. package/lib/input/style/index.js +2 -4
  661. package/lib/input-number/index.d.ts +3 -3
  662. package/lib/input-number/index.js +82 -55
  663. package/lib/input-number/index.js.map +1 -1
  664. package/lib/input-number/inputNumber.d.ts +10 -0
  665. package/lib/input-number/inputNumber.d.ts.map +1 -0
  666. package/lib/input-number/inputNumber.js +89 -0
  667. package/lib/input-number/inputNumber.js.map +1 -0
  668. package/lib/input-number/inputNumber.less +12 -0
  669. package/lib/input-number/style/index.js +2 -3
  670. package/lib/label/index.d.ts +2 -2
  671. package/lib/label/index.js +182 -138
  672. package/lib/label/index.js.map +1 -1
  673. package/lib/layout/index.d.ts +2 -2
  674. package/lib/layout/index.js +52 -21
  675. package/lib/layout/index.js.map +1 -1
  676. package/lib/layout/style/index.js +2 -3
  677. package/lib/list/index.d.ts +2 -2
  678. package/lib/list/index.js +52 -21
  679. package/lib/list/index.js.map +1 -1
  680. package/lib/list/style/index.js +2 -4
  681. package/lib/loading-button/index.js +133 -56
  682. package/lib/locale/default.js +15 -10
  683. package/lib/locale/default.js.map +1 -1
  684. package/lib/locale/en_US.js +84 -78
  685. package/lib/locale/en_US.js.map +1 -1
  686. package/lib/locale/index.js +36 -18
  687. package/lib/locale/zh_CN.js +76 -71
  688. package/lib/locale/zh_CN.js.map +1 -1
  689. package/lib/locale-provider/index.d.ts +2 -2
  690. package/lib/locale-provider/index.js +56 -25
  691. package/lib/locale-provider/index.js.map +1 -1
  692. package/lib/locale-provider/style/index.js +2 -3
  693. package/lib/mentions/index.d.ts +2 -2
  694. package/lib/mentions/index.js +52 -21
  695. package/lib/mentions/index.js.map +1 -1
  696. package/lib/mentions/style/index.js +2 -4
  697. package/lib/menu/index.d.ts +2 -2
  698. package/lib/menu/index.js +52 -21
  699. package/lib/menu/index.js.map +1 -1
  700. package/lib/menu/style/index.js +2 -5
  701. package/lib/message/index.d.ts +2 -2
  702. package/lib/message/index.js +52 -21
  703. package/lib/message/index.js.map +1 -1
  704. package/lib/message/style/index.js +2 -3
  705. package/lib/modal/index.js +21 -21
  706. package/lib/modal/index.js.map +1 -1
  707. package/lib/modal/index.less +36 -0
  708. package/lib/modal/modal.d.ts +4 -4
  709. package/lib/modal/modal.js +129 -65
  710. package/lib/modal/modal.js.map +1 -1
  711. package/lib/modal/style/index.js +2 -4
  712. package/lib/notification/assets/index.js +23 -10
  713. package/lib/notification/assets/svg-error-tip.d.ts +1 -1
  714. package/lib/notification/assets/svg-error-tip.js +181 -56
  715. package/lib/notification/assets/svg-success-tip.d.ts +1 -1
  716. package/lib/notification/assets/svg-success-tip.js +198 -60
  717. package/lib/notification/index.d.ts +1 -1
  718. package/lib/notification/index.js +25 -22
  719. package/lib/notification/index.js.map +1 -1
  720. package/lib/notification/notification.d.ts +2 -2
  721. package/lib/notification/notification.js +137 -40
  722. package/lib/notification/notification.js.map +1 -1
  723. package/lib/notification/style/index.js +2 -3
  724. package/lib/page/Box.js +67 -40
  725. package/lib/page/index.js +192 -95
  726. package/lib/page/utils.js +21 -18
  727. package/lib/page-container/index.js +24 -13
  728. package/lib/page-header/index.d.ts +2 -2
  729. package/lib/page-header/index.js +52 -21
  730. package/lib/page-header/index.js.map +1 -1
  731. package/lib/page-header/style/index.js +2 -4
  732. package/lib/page-loading/index.js +35 -27
  733. package/lib/page-loading/index.js.map +1 -1
  734. package/lib/page-loading/loading.gif +0 -0
  735. package/lib/pagination/index.d.ts +2 -2
  736. package/lib/pagination/index.js +52 -21
  737. package/lib/pagination/index.js.map +1 -1
  738. package/lib/pagination/style/index.js +2 -4
  739. package/lib/popconfirm/index.d.ts +2 -2
  740. package/lib/popconfirm/index.js +52 -21
  741. package/lib/popconfirm/index.js.map +1 -1
  742. package/lib/popconfirm/index.less +32 -0
  743. package/lib/popconfirm/popconfirm.d.ts +8 -0
  744. package/lib/popconfirm/popconfirm.d.ts.map +1 -0
  745. package/lib/popconfirm/popconfirm.js +96 -0
  746. package/lib/popconfirm/popconfirm.js.map +1 -0
  747. package/lib/popconfirm/style/index.js +2 -5
  748. package/lib/popover/index.d.ts +2 -2
  749. package/lib/popover/index.js +52 -21
  750. package/lib/popover/index.js.map +1 -1
  751. package/lib/popover/index.less +57 -0
  752. package/lib/popover/popover.d.ts +14 -0
  753. package/lib/popover/popover.d.ts.map +1 -0
  754. package/lib/popover/popover.js +90 -0
  755. package/lib/popover/popover.js.map +1 -0
  756. package/lib/popover/style/index.js +2 -5
  757. package/lib/prev-locale.d.ts +12 -3
  758. package/lib/prev-locale.d.ts.map +1 -1
  759. package/lib/prev-locale.js +202 -135
  760. package/lib/prev-locale.js.map +1 -1
  761. package/lib/preview-text/index.d.ts +4 -4
  762. package/lib/preview-text/index.js +296 -209
  763. package/lib/preview-text/index.js.map +1 -1
  764. package/lib/progress/index.d.ts +2 -2
  765. package/lib/progress/index.js +52 -21
  766. package/lib/progress/index.js.map +1 -1
  767. package/lib/progress/progress.d.ts +12 -0
  768. package/lib/progress/progress.d.ts.map +1 -0
  769. package/lib/progress/progress.js +179 -0
  770. package/lib/progress/progress.js.map +1 -0
  771. package/lib/progress/progress.less +82 -0
  772. package/lib/progress/style/index.js +2 -3
  773. package/lib/query-form/Field/Checkbox.js +30 -23
  774. package/lib/query-form/Field/Select.js +172 -68
  775. package/lib/query-form/Field/SelectInput.js +192 -77
  776. package/lib/query-form/Field/fieldsMap.d.ts +1 -1
  777. package/lib/query-form/Field/fieldsMap.js +55 -53
  778. package/lib/query-form/Field/index.js +239 -96
  779. package/lib/query-form/createActions.js +57 -51
  780. package/lib/query-form/index.js +474 -286
  781. package/lib/query-form/useForm.js +15 -11
  782. package/lib/query-form-backup/Field/Composition/FieldPopover.less +35 -0
  783. package/lib/query-form-backup/Field/Composition/index.less +114 -0
  784. package/lib/query-form-backup/index.less +90 -0
  785. package/lib/query-list-scene/List.js +448 -289
  786. package/lib/query-list-scene/QueryForm.js +233 -103
  787. package/lib/query-list-scene/QueryListScene.js +138 -30
  788. package/lib/query-list-scene/Title.js +18 -9
  789. package/lib/query-list-scene/Toolbar.js +60 -21
  790. package/lib/query-list-scene/createActions.js +83 -65
  791. package/lib/query-list-scene/index.js +28 -24
  792. package/lib/query-list-scene/useActions.js +15 -11
  793. package/lib/radio/index.d.ts +2 -2
  794. package/lib/radio/index.js +59 -23
  795. package/lib/radio/index.js.map +1 -1
  796. package/lib/radio/radio-group.d.ts +1 -1
  797. package/lib/radio/radio-group.js +14 -9
  798. package/lib/radio/radio-group.js.map +1 -1
  799. package/lib/radio/radio.d.ts +17 -0
  800. package/lib/radio/radio.d.ts.map +1 -0
  801. package/lib/radio/radio.js +110 -0
  802. package/lib/radio/radio.js.map +1 -0
  803. package/lib/radio/radio.less +43 -0
  804. package/lib/radio/style/index.js +2 -3
  805. package/lib/rate/index.d.ts +2 -2
  806. package/lib/rate/index.js +52 -21
  807. package/lib/rate/index.js.map +1 -1
  808. package/lib/rate/style/index.js +2 -4
  809. package/lib/render-empty/index.js +7 -4
  810. package/lib/render-empty/render-empty.js +31 -22
  811. package/lib/result/index.d.ts +2 -2
  812. package/lib/result/index.js +52 -21
  813. package/lib/result/index.js.map +1 -1
  814. package/lib/result/style/index.js +2 -3
  815. package/lib/row/index.d.ts +2 -2
  816. package/lib/row/index.js +52 -21
  817. package/lib/row/index.js.map +1 -1
  818. package/lib/row/style/index.js +2 -5
  819. package/lib/scroll-bar/Bar.js +165 -73
  820. package/lib/scroll-bar/Context.js +15 -10
  821. package/lib/scroll-bar/ScrollBar.js +124 -88
  822. package/lib/scroll-bar/Thumb.js +198 -133
  823. package/lib/scroll-bar/index.js +12 -7
  824. package/lib/scroll-bar/util.js +64 -30
  825. package/lib/segmented/index.d.ts +1 -1
  826. package/lib/segmented/index.js +121 -69
  827. package/lib/select/index.d.ts +1 -1
  828. package/lib/select/index.js +20 -19
  829. package/lib/select/index.js.map +1 -1
  830. package/lib/select/select.d.ts +2 -2
  831. package/lib/select/select.js +116 -66
  832. package/lib/select/select.js.map +1 -1
  833. package/lib/select/style/index.js +2 -4
  834. package/lib/skeleton/index.d.ts +2 -2
  835. package/lib/skeleton/index.js +52 -21
  836. package/lib/skeleton/index.js.map +1 -1
  837. package/lib/skeleton/style/index.js +2 -3
  838. package/lib/slider/index.d.ts +2 -2
  839. package/lib/slider/index.js +52 -21
  840. package/lib/slider/index.js.map +1 -1
  841. package/lib/slider/style/index.js +2 -4
  842. package/lib/spin/index.d.ts +2 -2
  843. package/lib/spin/index.js +52 -21
  844. package/lib/spin/index.js.map +1 -1
  845. package/lib/spin/spin.d.ts +9 -0
  846. package/lib/spin/spin.d.ts.map +1 -0
  847. package/lib/spin/spin.js +79 -0
  848. package/lib/spin/spin.js.map +1 -0
  849. package/lib/spin/spin.less +9 -0
  850. package/lib/spin/style/index.js +2 -3
  851. package/lib/statistic/index.d.ts +2 -2
  852. package/lib/statistic/index.js +52 -21
  853. package/lib/statistic/index.js.map +1 -1
  854. package/lib/statistic/style/index.js +2 -3
  855. package/lib/steps/assets/background_left.svg +12 -0
  856. package/lib/steps/assets/background_right.svg +12 -0
  857. package/lib/steps/assets/horizontal_line.svg +3 -0
  858. package/lib/steps/assets/vertical_line.svg +3 -0
  859. package/lib/steps/index.js +19 -19
  860. package/lib/steps/stepStyle/icon.less +51 -0
  861. package/lib/steps/stepStyle/progress-dot.less +10 -0
  862. package/lib/steps/stepStyle/variables.less +8 -0
  863. package/lib/steps/stepStyle/vertical.less +41 -0
  864. package/lib/steps/steps.d.ts +3 -3
  865. package/lib/steps/steps.js +123 -63
  866. package/lib/steps/steps.js.map +1 -1
  867. package/lib/steps/style/index.js +2 -3
  868. package/lib/style/index.js +2 -3
  869. package/lib/style/v2-compatible-reset.js +2 -3
  870. package/lib/svg-components/illustration-403.d.ts +1 -1
  871. package/lib/svg-components/illustration-403.js +247 -84
  872. package/lib/svg-components/illustration-404.d.ts +1 -1
  873. package/lib/svg-components/illustration-404.js +331 -101
  874. package/lib/svg-components/illustration-500.d.ts +1 -1
  875. package/lib/svg-components/illustration-500.js +362 -109
  876. package/lib/svg-components/illustration-empty.d.ts +1 -1
  877. package/lib/svg-components/illustration-empty.js +95 -41
  878. package/lib/svg-components/illustration-failure.d.ts +1 -1
  879. package/lib/svg-components/illustration-failure.js +153 -62
  880. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  881. package/lib/svg-components/illustration-no-access.js +155 -61
  882. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  883. package/lib/svg-components/illustration-no-chart.js +175 -63
  884. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  885. package/lib/svg-components/illustration-no-result.js +133 -58
  886. package/lib/svg-components/illustration-offline.d.ts +1 -1
  887. package/lib/svg-components/illustration-offline.js +208 -64
  888. package/lib/svg-components/illustration-success.d.ts +1 -1
  889. package/lib/svg-components/illustration-success.js +178 -69
  890. package/lib/svg-components/index.js +79 -26
  891. package/lib/switch/index.js +52 -21
  892. package/lib/switch/index.less +45 -0
  893. package/lib/switch/style/index.js +2 -3
  894. package/lib/switch/switch.d.ts +2 -2
  895. package/lib/switch/switch.js +67 -26
  896. package/lib/switch/switch.js.map +1 -1
  897. package/lib/table/assets/image-loading-background.d.ts +1 -1
  898. package/lib/table/assets/image-loading-background.js +86 -43
  899. package/lib/table/assets/image-loading.d.ts +1 -1
  900. package/lib/table/assets/image-loading.js +67 -31
  901. package/lib/table/constants.js +5 -3
  902. package/lib/table/context.js +6 -4
  903. package/lib/table/hooks/index.js +25 -17
  904. package/lib/table/hooks/use-column-setting.d.ts +1 -1
  905. package/lib/table/hooks/use-column-setting.js +79 -21
  906. package/lib/table/hooks/use-column-setting.js.map +1 -1
  907. package/lib/table/hooks/use-expand-fixed.js +474 -79
  908. package/lib/table/index.js +19 -19
  909. package/lib/table/resizableTable/index.js +233 -104
  910. package/lib/table/style/index.js +2 -5
  911. package/lib/table/table-hoc.d.ts +3 -3
  912. package/lib/table/table-hoc.js +31 -29
  913. package/lib/table/table-hoc.js.map +1 -1
  914. package/lib/table/table.d.ts +3 -3
  915. package/lib/table/table.js +336 -209
  916. package/lib/table/table.js.map +1 -1
  917. package/lib/table/table.stories.js +620 -377
  918. package/lib/table/total-shower.d.ts +2 -2
  919. package/lib/table/total-shower.js +18 -11
  920. package/lib/table/total-shower.js.map +1 -1
  921. package/lib/table/utils.d.ts +1 -1
  922. package/lib/table/utils.js +39 -62
  923. package/lib/table/utils.js.map +1 -1
  924. package/lib/table-container/index.js +23 -12
  925. package/lib/tabs/index.js +19 -19
  926. package/lib/tabs/style/index.js +2 -3
  927. package/lib/tabs/tabPane.js +1 -2
  928. package/lib/tabs/tabs.d.ts +3 -3
  929. package/lib/tabs/tabs.js +94 -64
  930. package/lib/tabs/tabs.js.map +1 -1
  931. package/lib/tabs/tabs.less +125 -0
  932. package/lib/tabs-container/index.js +24 -13
  933. package/lib/tag/index.js +20 -20
  934. package/lib/tag/style/index.js +2 -3
  935. package/lib/tag/tag.d.ts +4 -4
  936. package/lib/tag/tag.js +215 -151
  937. package/lib/tag/tag.js.map +1 -1
  938. package/lib/time-picker/TimePicker.d.ts +9 -0
  939. package/lib/time-picker/TimePicker.d.ts.map +1 -0
  940. package/lib/time-picker/TimePicker.js +90 -0
  941. package/lib/time-picker/TimePicker.js.map +1 -0
  942. package/lib/time-picker/index.d.ts +2 -2
  943. package/lib/time-picker/index.js +54 -23
  944. package/lib/time-picker/index.js.map +1 -1
  945. package/lib/time-picker/index.less +38 -0
  946. package/lib/time-picker/style/index.js +2 -3
  947. package/lib/timeline/index.d.ts +2 -2
  948. package/lib/timeline/index.js +52 -21
  949. package/lib/timeline/index.js.map +1 -1
  950. package/lib/timeline/style/index.js +2 -3
  951. package/lib/title/index.js +64 -31
  952. package/lib/tntd-action/Action.d.ts +6 -0
  953. package/lib/tntd-action/Action.d.ts.map +1 -0
  954. package/lib/tntd-action/Action.js +218 -0
  955. package/lib/tntd-action/Action.js.map +1 -0
  956. package/lib/tntd-action/index.js +9 -6
  957. package/lib/tntd-action/index.less +70 -0
  958. package/lib/tntd-action_backup/index.less +114 -0
  959. package/lib/tntd-cascader/AntdCascader/component/DisabledContext.js +48 -32
  960. package/lib/tntd-cascader/AntdCascader/component/FormItemInputContext.js +39 -26
  961. package/lib/tntd-cascader/AntdCascader/component/SizeContext.js +39 -26
  962. package/lib/tntd-cascader/AntdCascader/component/context.js +19 -16
  963. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +64 -39
  964. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js.map +1 -1
  965. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +112 -78
  966. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +83 -51
  967. package/lib/tntd-cascader/AntdCascader/config/utils.js +58 -29
  968. package/lib/tntd-cascader/AntdCascader/config/warning.js +49 -35
  969. package/lib/tntd-cascader/AntdCascader/index.js +284 -162
  970. package/lib/tntd-cascader/AntdCascader/interface.js +13 -7
  971. package/lib/tntd-cascader/img/no-data-s.png +0 -0
  972. package/lib/tntd-cascader/index.js +16 -8
  973. package/lib/tntd-cascader/rc-cascader/Cascader.js +413 -288
  974. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +82 -40
  975. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +285 -167
  976. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +327 -164
  977. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +116 -49
  978. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +263 -167
  979. package/lib/tntd-cascader/rc-cascader/context.js +42 -27
  980. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +111 -64
  981. package/lib/tntd-cascader/rc-cascader/hooks/useEntities.js +70 -50
  982. package/lib/tntd-cascader/rc-cascader/hooks/useMissingValues.js +57 -42
  983. package/lib/tntd-cascader/rc-cascader/hooks/useRefFunc.js +47 -33
  984. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +65 -51
  985. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +141 -66
  986. package/lib/tntd-cascader/rc-cascader/index.js +12 -7
  987. package/lib/tntd-cascader/rc-cascader/utils/commonUtil.js +46 -38
  988. package/lib/tntd-cascader/rc-cascader/utils/treeUtil.js +42 -39
  989. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +37 -30
  990. package/lib/tntd-checkbox-select/index.js +332 -169
  991. package/lib/tntd-form/ErrorList.js +171 -77
  992. package/lib/tntd-form/Form.js +262 -139
  993. package/lib/tntd-form/FormItem/ItemHolder.js +242 -152
  994. package/lib/tntd-form/FormItem/index.js +371 -251
  995. package/lib/tntd-form/FormItemInput.js +122 -62
  996. package/lib/tntd-form/FormItemLabel.js +151 -96
  997. package/lib/tntd-form/FormList.js +84 -58
  998. package/lib/tntd-form/context.js +79 -61
  999. package/lib/tntd-form/hooks/useDebounce.js +101 -37
  1000. package/lib/tntd-form/hooks/useForm.js +133 -57
  1001. package/lib/tntd-form/hooks/useFormInstance.js +11 -8
  1002. package/lib/tntd-form/hooks/useFormItemStatus.js +21 -13
  1003. package/lib/tntd-form/hooks/useFrameState.js +129 -63
  1004. package/lib/tntd-form/hooks/useItemRef.js +55 -41
  1005. package/lib/tntd-form/index.js +58 -42
  1006. package/lib/tntd-form/interface.js +6 -4
  1007. package/lib/tntd-form/style/index.js +2 -4
  1008. package/lib/tntd-form/util.js +18 -19
  1009. package/lib/tntd-form/validateMessagesContext.js +7 -4
  1010. package/lib/tntd-icon/fonts/iconfont.js +36 -53
  1011. package/lib/tntd-icon/index.js +41 -25
  1012. package/lib/tntd-layout/ActionsContext.js +7 -4
  1013. package/lib/tntd-layout/AppList.js +253 -222
  1014. package/lib/tntd-layout/Application.js +155 -109
  1015. package/lib/tntd-layout/Avatar.js +139 -134
  1016. package/lib/tntd-layout/CompatibleLanguage.js +207 -177
  1017. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +156 -145
  1018. package/lib/tntd-layout/EnterpriseLayout/Language.js +153 -88
  1019. package/lib/tntd-layout/EnterpriseLayout/Theme.js +149 -100
  1020. package/lib/tntd-layout/EnterpriseLayout/index.js +31 -17
  1021. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +361 -272
  1022. package/lib/tntd-layout/GlobalNavigation/index.js +195 -112
  1023. package/lib/tntd-layout/Header.js +115 -130
  1024. package/lib/tntd-layout/HeaderActions.js +145 -107
  1025. package/lib/tntd-layout/HeaderNavs.js +155 -105
  1026. package/lib/tntd-layout/HeaderTabs.js +318 -312
  1027. package/lib/tntd-layout/Iconfont.js +15 -8
  1028. package/lib/tntd-layout/Language.js +150 -75
  1029. package/lib/tntd-layout/Layout.js +292 -167
  1030. package/lib/tntd-layout/Logo.js +108 -139
  1031. package/lib/tntd-layout/OrgAppList.js +315 -383
  1032. package/lib/tntd-layout/SideMenu.js +347 -406
  1033. package/lib/tntd-layout/Theme.js +154 -90
  1034. package/lib/tntd-layout/createActions.js +49 -35
  1035. package/lib/tntd-layout/images/avatar/empty.png +0 -0
  1036. package/lib/tntd-layout/images/avatar/female1.png +0 -0
  1037. package/lib/tntd-layout/images/avatar/female2.png +0 -0
  1038. package/lib/tntd-layout/images/avatar/female3.png +0 -0
  1039. package/lib/tntd-layout/images/avatar/female4.png +0 -0
  1040. package/lib/tntd-layout/images/avatar/female5.png +0 -0
  1041. package/lib/tntd-layout/images/avatar/female6.png +0 -0
  1042. package/lib/tntd-layout/images/avatar/male1.png +0 -0
  1043. package/lib/tntd-layout/images/avatar/male2.png +0 -0
  1044. package/lib/tntd-layout/images/avatar/male3.png +0 -0
  1045. package/lib/tntd-layout/images/avatar/male4.png +0 -0
  1046. package/lib/tntd-layout/images/avatar/male5.png +0 -0
  1047. package/lib/tntd-layout/images/avatar/male6.png +0 -0
  1048. package/lib/tntd-layout/images/index.js +70 -67
  1049. package/lib/tntd-layout/index.js +168 -96
  1050. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +210 -179
  1051. package/lib/tntd-layout/paaslayout/Header.js +90 -74
  1052. package/lib/tntd-layout/paaslayout/Logo.js +25 -27
  1053. package/lib/tntd-layout/paaslayout/SideMenu.js +212 -146
  1054. package/lib/tntd-layout/paaslayout/index.js +285 -139
  1055. package/lib/tntd-layout/storage.js +65 -46
  1056. package/lib/tntd-modal/index.js +190 -62
  1057. package/lib/tntd-rc-select/_util/DisabledContext.js +48 -32
  1058. package/lib/tntd-rc-select/_util/FormItemInputContext.js +39 -26
  1059. package/lib/tntd-rc-select/_util/PurePanel.js +161 -78
  1060. package/lib/tntd-rc-select/_util/SizeContext.js +39 -26
  1061. package/lib/tntd-rc-select/_util/context.js +19 -16
  1062. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +69 -39
  1063. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js.map +1 -1
  1064. package/lib/tntd-rc-select/_util/getIcons.js +115 -78
  1065. package/lib/tntd-rc-select/_util/interface.js +13 -7
  1066. package/lib/tntd-rc-select/_util/motion.js +50 -36
  1067. package/lib/tntd-rc-select/_util/type.js +16 -6
  1068. package/lib/tntd-rc-select/_util/useCompactItemContext.js +83 -51
  1069. package/lib/tntd-rc-select/_util/warning.js +49 -35
  1070. package/lib/tntd-rc-select/img/no-data-s.png +0 -0
  1071. package/lib/tntd-rc-select/index.js +206 -125
  1072. package/lib/tntd-reference/AHref/index.js +46 -38
  1073. package/lib/tntd-reference/ReferenceBatchCheck/index.js +166 -99
  1074. package/lib/tntd-reference/ReferenceBatchDrawer/index.js +198 -83
  1075. package/lib/tntd-reference/ReferenceCheck/index.js +127 -74
  1076. package/lib/tntd-reference/ReferenceDrawer/index.js +165 -68
  1077. package/lib/tntd-reference/ReferenceInfo/index.js +162 -93
  1078. package/lib/tntd-reference/index.js +23 -18
  1079. package/lib/tntd-second-page/index.js +63 -32
  1080. package/lib/tntd-second-page/index.js.map +1 -1
  1081. package/lib/tntd-select/DropDownWrap.js +188 -78
  1082. package/lib/tntd-select/index.d.ts +1 -1
  1083. package/lib/tntd-select/index.js +745 -549
  1084. package/lib/tntd-select/index.less +7 -0
  1085. package/lib/tntd-virtual-tree/index.js +395 -230
  1086. package/lib/tntd-virtual-tree/utils.js +328 -197
  1087. package/lib/tntd-virtual-tree-select/index.js +281 -151
  1088. package/lib/tntd-virtual-tree-select/utils.js +86 -46
  1089. package/lib/tooltip/index.js +53 -22
  1090. package/lib/tooltip/style/index.js +2 -3
  1091. package/lib/tooltip/tooltip.d.ts +2 -2
  1092. package/lib/tooltip/tooltip.js +96 -62
  1093. package/lib/tooltip/tooltip.js.map +1 -1
  1094. package/lib/transfer/index.d.ts +2 -2
  1095. package/lib/transfer/index.js +52 -21
  1096. package/lib/transfer/index.js.map +1 -1
  1097. package/lib/transfer/style/index.js +2 -4
  1098. package/lib/tree/index.d.ts +2 -2
  1099. package/lib/tree/index.js +52 -21
  1100. package/lib/tree/index.js.map +1 -1
  1101. package/lib/tree/style/index.js +2 -3
  1102. package/lib/tree-select/index.d.ts +4 -4
  1103. package/lib/tree-select/index.js +58 -26
  1104. package/lib/tree-select/index.js.map +1 -1
  1105. package/lib/tree-select/style/index.js +2 -5
  1106. package/lib/typography/index.d.ts +2 -2
  1107. package/lib/typography/index.js +52 -21
  1108. package/lib/typography/index.js.map +1 -1
  1109. package/lib/typography/style/index.js +2 -4
  1110. package/lib/upload/index.d.ts +1 -1
  1111. package/lib/upload/index.js +340 -143
  1112. package/lib/upload/index.js.map +1 -1
  1113. package/lib/upload/style/index.js +2 -4
  1114. package/lib/upload/svg/UploadSVG.js +47 -18
  1115. package/lib/utils/checkAuth.js +37 -24
  1116. package/lib/utils/findMenuInfoByPath.js +40 -35
  1117. package/lib/utils/index.js +165 -94
  1118. package/lib/utils/lang.js +81 -126
  1119. package/lib/utils/simple-template.js +11 -7
  1120. package/lib/version/index.d.ts +2 -2
  1121. package/lib/version/index.js +52 -21
  1122. package/lib/version/index.js.map +1 -1
  1123. package/lib/version/style/index.js +2 -4
  1124. package/lib/water-mark/index.js +206 -118
  1125. package/package.json +1 -1
@@ -1,19 +1,24 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {};
7
+ exports["default"] = void 0;
8
+ require("./style");
9
+ var _modal = require("./modal");
10
+ Object.keys(_modal).forEach(function (key) {
11
+ if (key === "default" || key === "__esModule") return;
12
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
13
+ if (key in exports && exports[key] === _modal[key]) return;
14
+ Object.defineProperty(exports, key, {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _modal[key];
7
18
  }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
19
+ });
20
+ });
21
+ require("./modal.less");
17
22
  /*
18
23
  * @Author: 周泽飞 zefei.zhou@tongdun.net
19
24
  * @Date: 2023-03-08 16:45:46
@@ -22,10 +27,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
22
27
  * @FilePath: /tntd/packages/tntd/src/modal/index.ts
23
28
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
24
29
  */
25
- // import Modal from 'antd/es/modal'
26
- require("./style");
27
- const modal_1 = require("./modal");
28
- require("./modal.less");
29
- __exportStar(require("./modal"), exports);
30
- exports.default = modal_1.Modal;
31
- //# sourceMappingURL=index.js.map
30
+ // import Modal from 'antd/lib/modal'
31
+ var _default = exports["default"] = _modal.Modal;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;GAOG;AACH,oCAAoC;AACpC,mBAAgB;AAChB,mCAA+B;AAE/B,wBAAqB;AAErB,0CAAuB;AAEvB,kBAAe,aAAK,CAAA","sourcesContent":["/*\n * @Author: 周泽飞 zefei.zhou@tongdun.net\n * @Date: 2023-03-08 16:45:46\n * @LastEditors: 周泽飞 zefei.zhou@tongdun.net\n * @LastEditTime: 2023-03-08 18:33:42\n * @FilePath: /tntd/packages/tntd/src/modal/index.ts\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\n// import Modal from 'antd/es/modal'\nimport './style'\nimport { Modal } from './modal'\n\nimport './modal.less'\n\nexport * from './modal'\n\nexport default Modal\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;GAOG;AACH,oCAAoC;AACpC,mBAAgB;AAChB,mCAA+B;AAE/B,wBAAqB;AAErB,0CAAuB;AAEvB,kBAAe,aAAK,CAAA","sourcesContent":["/*\n * @Author: 周泽飞 zefei.zhou@tongdun.net\n * @Date: 2023-03-08 16:45:46\n * @LastEditors: 周泽飞 zefei.zhou@tongdun.net\n * @LastEditTime: 2023-03-08 18:33:42\n * @FilePath: /tntd/packages/tntd/src/modal/index.ts\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\n// import Modal from 'antd/lib/modal'\nimport './style'\nimport { Modal } from './modal'\n\nimport './modal.less'\n\nexport * from './modal'\n\nexport default Modal\n"]}
@@ -0,0 +1,36 @@
1
+ @modal-prefix-cls: ~'@{ant-prefix}-modal';
2
+ @confirm-prefix-cls: ~'@{ant-prefix}-modal-confirm';
3
+
4
+
5
+ .@{modal-prefix-cls}{
6
+ &-header{
7
+ font-size: @font-size-lg;
8
+ font-weight: 500;
9
+ }
10
+ &-close-x{
11
+ font-size: 20px;
12
+ }
13
+
14
+ &-title{
15
+ line-height: @line-height-lg;
16
+ }
17
+ }
18
+
19
+ .@{confirm-prefix-cls}{
20
+ &-body{
21
+ .anticon {
22
+ font-size: 22px !important;
23
+ margin-top: 1px;
24
+ }
25
+ }
26
+
27
+ &-body &-content{
28
+ margin-top: @margin-xs;
29
+ }
30
+
31
+ .@{confirm-prefix-cls}-btns {
32
+ button {
33
+ border-radius: @border-radius-base;
34
+ }
35
+ }
36
+ }
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import type { ModalProps as AntdModalProps } from 'antd/es/modal';
3
- import { default as AntdModal } from 'antd/es/modal';
4
- export * from 'antd/es/modal';
5
- export { ActionButtonProps, ModalProps } from 'antd/es/modal';
2
+ import type { ModalProps as AntdModalProps } from 'antd/lib/modal';
3
+ import { default as AntdModal } from 'antd/lib/modal';
4
+ export * from 'antd/lib/modal';
5
+ export { ActionButtonProps, ModalProps } from 'antd/lib/modal';
6
6
  export interface CurModalProps extends AntdModalProps {
7
7
  upperCaseIgnore?: [];
8
8
  unUpperConverted?: boolean;
@@ -1,46 +1,76 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
2
+
3
+ function _typeof(o) {
4
+ "@babel/helpers - typeof";
5
+
6
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7
+ return typeof o;
8
+ } : function (o) {
9
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10
+ }, _typeof(o);
11
+ }
12
+ Object.defineProperty(exports, "__esModule", {
13
+ value: true
17
14
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
- };
28
- var __rest = (this && this.__rest) || function (s, e) {
29
- var t = {};
30
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
- t[p] = s[p];
32
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
- t[p[i]] = s[p[i]];
36
- }
37
- return t;
38
- };
39
- var __importDefault = (this && this.__importDefault) || function (mod) {
40
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ var _exportNames = {
16
+ Modal: true
41
17
  };
42
- Object.defineProperty(exports, "__esModule", { value: true });
43
18
  exports.Modal = void 0;
19
+ var _react = _interopRequireWildcard(require("react"));
20
+ var _classnames = _interopRequireDefault(require("classnames"));
21
+ var _configProvider = require("../config-provider");
22
+ var _modal = _interopRequireWildcard(require("antd/lib/modal"));
23
+ Object.keys(_modal).forEach(function (key) {
24
+ if (key === "default" || key === "__esModule") return;
25
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
26
+ if (key in exports && exports[key] === _modal[key]) return;
27
+ Object.defineProperty(exports, key, {
28
+ enumerable: true,
29
+ get: function get() {
30
+ return _modal[key];
31
+ }
32
+ });
33
+ });
34
+ var _icon = _interopRequireDefault(require("../icon"));
35
+ var _utils = require("../utils");
36
+ function _interopRequireDefault(e) {
37
+ return e && e.__esModule ? e : {
38
+ "default": e
39
+ };
40
+ }
41
+ function _getRequireWildcardCache(e) {
42
+ if ("function" != typeof WeakMap) return null;
43
+ var r = new WeakMap(),
44
+ t = new WeakMap();
45
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
46
+ return e ? t : r;
47
+ })(e);
48
+ }
49
+ function _interopRequireWildcard(e, r) {
50
+ if (!r && e && e.__esModule) return e;
51
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
52
+ "default": e
53
+ };
54
+ var t = _getRequireWildcardCache(r);
55
+ if (t && t.has(e)) return t.get(e);
56
+ var n = {
57
+ __proto__: null
58
+ },
59
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
60
+ for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
61
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
62
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
63
+ }
64
+ return n["default"] = e, t && t.set(e, n), n;
65
+ }
66
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
67
+ var t = {};
68
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
69
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
70
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
71
+ }
72
+ return t;
73
+ };
44
74
  /*
45
75
  * @Author: 周泽飞 zefei.zhou@tongdun.net
46
76
  * @Date: 2023-03-08 17:45:01
@@ -49,37 +79,71 @@ exports.Modal = void 0;
49
79
  * @FilePath: /tntd/packages/tntd/src/modal/modal.tsx
50
80
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
51
81
  */
52
- const react_1 = __importStar(require("react"));
53
- const classnames_1 = __importDefault(require("classnames"));
54
- const config_provider_1 = require("../config-provider");
55
- const modal_1 = __importDefault(require("antd/es/modal"));
56
- const icon_1 = __importDefault(require("../icon"));
57
- const utils_1 = require("../utils");
58
- __exportStar(require("antd/es/modal"), exports);
59
- var modal_2 = require("antd/es/modal");
60
- exports.Modal = (0, react_1.forwardRef)((_a, ref) => {
61
- var { title, className, upperCaseIgnore, unUpperConverted, innerScroll = false } = _a, rest = __rest(_a, ["title", "className", "upperCaseIgnore", "unUpperConverted", "innerScroll"]);
62
- return (react_1.default.createElement(config_provider_1.ConfigConsumer, null, ({ getPrefixCls }) => {
63
- return (react_1.default.createElement(modal_1.default, Object.assign({ className: (0, classnames_1.default)('tntd-modal', innerScroll && 'modal-inner-scroll', !(rest === null || rest === void 0 ? void 0 : rest.footer) && !(rest === null || rest === void 0 ? void 0 : rest.onOk) && 'modal-inner-scroll-footer', className) }, rest, { title: !unUpperConverted ? (0, utils_1.doUpperTitle)(title, upperCaseIgnore) : title, ref: ref })));
82
+
83
+ var Modal = exports.Modal = (0, _react.forwardRef)(function (_a, ref) {
84
+ var title = _a.title,
85
+ className = _a.className,
86
+ upperCaseIgnore = _a.upperCaseIgnore,
87
+ unUpperConverted = _a.unUpperConverted,
88
+ _a$innerScroll = _a.innerScroll,
89
+ innerScroll = _a$innerScroll === void 0 ? false : _a$innerScroll,
90
+ rest = __rest(_a, ["title", "className", "upperCaseIgnore", "unUpperConverted", "innerScroll"]);
91
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref) {
92
+ var getPrefixCls = _ref.getPrefixCls;
93
+ return _react["default"].createElement(_modal["default"], Object.assign({
94
+ className: (0, _classnames["default"])('tntd-modal', innerScroll && 'modal-inner-scroll', !(rest === null || rest === void 0 ? void 0 : rest.footer) && !(rest === null || rest === void 0 ? void 0 : rest.onOk) && 'modal-inner-scroll-footer', className)
95
+ }, rest, {
96
+ title: !unUpperConverted ? (0, _utils.doUpperTitle)(title, upperCaseIgnore) : title,
97
+ ref: ref
64
98
  }));
99
+ });
65
100
  });
66
- exports.Modal.info = (props) => {
67
- return modal_1.default.info(Object.assign({ icon: react_1.default.createElement(icon_1.default, { type: "info-circle", theme: "filled" }) }, props));
101
+ Modal.info = function (props) {
102
+ return _modal["default"].info(Object.assign({
103
+ icon: _react["default"].createElement(_icon["default"], {
104
+ type: "info-circle",
105
+ theme: "filled"
106
+ })
107
+ }, props));
68
108
  };
69
- exports.Modal.success = (props) => {
70
- return modal_1.default.success(Object.assign({ icon: react_1.default.createElement(icon_1.default, { type: "check-circle", theme: "filled" }) }, props));
109
+ Modal.success = function (props) {
110
+ return _modal["default"].success(Object.assign({
111
+ icon: _react["default"].createElement(_icon["default"], {
112
+ type: "check-circle",
113
+ theme: "filled"
114
+ })
115
+ }, props));
71
116
  };
72
- exports.Modal.error = (props) => {
73
- return modal_1.default.error(Object.assign({ icon: react_1.default.createElement(icon_1.default, { type: "close-circle", theme: "filled" }) }, props));
117
+ Modal.error = function (props) {
118
+ return _modal["default"].error(Object.assign({
119
+ icon: _react["default"].createElement(_icon["default"], {
120
+ type: "close-circle",
121
+ theme: "filled"
122
+ })
123
+ }, props));
74
124
  };
75
- exports.Modal.warning = (props) => {
76
- return modal_1.default.warning(Object.assign({ icon: react_1.default.createElement(icon_1.default, { type: "exclamation-circle", theme: "filled" }) }, props));
125
+ Modal.warning = function (props) {
126
+ return _modal["default"].warning(Object.assign({
127
+ icon: _react["default"].createElement(_icon["default"], {
128
+ type: "exclamation-circle",
129
+ theme: "filled"
130
+ })
131
+ }, props));
77
132
  };
78
- exports.Modal.warn = (props) => {
79
- return modal_1.default.warn(Object.assign({ icon: react_1.default.createElement(icon_1.default, { type: "exclamation-circle", theme: "filled" }) }, props));
133
+ Modal.warn = function (props) {
134
+ return _modal["default"].warn(Object.assign({
135
+ icon: _react["default"].createElement(_icon["default"], {
136
+ type: "exclamation-circle",
137
+ theme: "filled"
138
+ })
139
+ }, props));
80
140
  };
81
- exports.Modal.confirm = (props) => {
82
- return modal_1.default.confirm(Object.assign({ icon: react_1.default.createElement(icon_1.default, { type: "question-circle", theme: "filled" }) }, props));
141
+ Modal.confirm = function (props) {
142
+ return _modal["default"].confirm(Object.assign({
143
+ icon: _react["default"].createElement(_icon["default"], {
144
+ type: "question-circle",
145
+ theme: "filled"
146
+ })
147
+ }, props));
83
148
  };
84
- exports.Modal.destroyAll = modal_1.default.destroyAll;
85
- //# sourceMappingURL=modal.js.map
149
+ Modal.destroyAll = _modal["default"].destroyAll;
@@ -1 +1 @@
1
- {"version":3,"file":"modal.js","sourceRoot":"","sources":["../../src/modal/modal.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;GAOG;AACH,+CAAyC;AAEzC,4DAAmC;AACnC,wDAAmD;AACnD,0DAAoD;AACpD,mDAAyC;AACzC,oCAAuC;AACvC,gDAA6B;AAC7B,uCAA6D;AAmBhD,QAAA,KAAK,GAAG,IAAA,kBAAU,EAC7B,CAAC,EAAqF,EAAE,GAAG,EAAE,EAAE;QAA9F,EAAE,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,GAAG,KAAK,OAAW,EAAN,IAAI,cAAnF,4EAAqF,CAAF;IAClF,OAAO,CACL,8BAAC,gCAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,OAAO,CACL,8BAAC,eAAS,kBACR,SAAS,EAAE,IAAA,oBAAU,EACnB,YAAY,EACZ,WAAW,IAAI,oBAAoB,EACnC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,CAAA,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAA,IAAI,2BAA2B,EAC3D,SAAS,CACV,IACG,IAAI,IACR,KAAK,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAA,oBAAY,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,KAAK,EACvE,GAAG,EAAE,GAAG,IACR,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CACgB,CAAA;AAEnB,aAAK,CAAC,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,eAAS,CAAC,IAAI,iBACnB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,QAAQ,GAAG,IAC7C,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,OAAO,eAAS,CAAC,OAAO,iBACtB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,QAAQ,GAAG,IAC9C,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,KAAK,GAAG,CAAC,KAAK,EAAE,EAAE;IACtB,OAAO,eAAS,CAAC,KAAK,iBACpB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,QAAQ,GAAG,IAC9C,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,OAAO,eAAS,CAAC,OAAO,iBACtB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,oBAAoB,EAAC,KAAK,EAAC,QAAQ,GAAG,IACpD,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,eAAS,CAAC,IAAI,iBACnB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,oBAAoB,EAAC,KAAK,EAAC,QAAQ,GAAG,IACpD,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,OAAO,eAAS,CAAC,OAAO,iBACtB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,QAAQ,GAAG,IACjD,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,UAAU,GAAG,eAAS,CAAC,UAAU,CAAA","sourcesContent":["/*\n * @Author: 周泽飞 zefei.zhou@tongdun.net\n * @Date: 2023-03-08 17:45:01\n * @LastEditors: 郑泳健\n * @LastEditTime: 2025-06-24 11:44:10\n * @FilePath: /tntd/packages/tntd/src/modal/modal.tsx\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\nimport React, { forwardRef } from 'react'\nimport type { ModalProps as AntdModalProps } from 'antd/es/modal'\nimport classNames from 'classnames'\nimport { ConfigConsumer } from '../config-provider'\nimport { default as AntdModal } from 'antd/es/modal'\nimport { default as Icon } from '../icon'\nimport { doUpperTitle } from '../utils'\nexport * from 'antd/es/modal'\nexport { ActionButtonProps, ModalProps } from 'antd/es/modal'\n\nexport interface CurModalProps extends AntdModalProps {\n upperCaseIgnore?: []\n unUpperConverted?: boolean\n innerScroll?: boolean\n}\n\ninterface ModalComponent\n extends React.ForwardRefExoticComponent<CurModalProps & React.RefAttributes<AntdModal>> {\n info: typeof AntdModal.info\n success: typeof AntdModal.success\n error: typeof AntdModal.error\n warning: typeof AntdModal.warning\n warn: typeof AntdModal.warn\n confirm: typeof AntdModal.confirm\n destroyAll: typeof AntdModal.destroyAll\n}\n\nexport const Modal = forwardRef<AntdModal, CurModalProps>(\n ({ title, className, upperCaseIgnore, unUpperConverted, innerScroll = false, ...rest }, ref) => {\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n return (\n <AntdModal\n className={classNames(\n 'tntd-modal',\n innerScroll && 'modal-inner-scroll',\n !rest?.footer && !rest?.onOk && 'modal-inner-scroll-footer',\n className\n )}\n {...rest}\n title={!unUpperConverted ? doUpperTitle(title, upperCaseIgnore) : title}\n ref={ref}\n />\n )\n }}\n </ConfigConsumer>\n )\n }\n) as ModalComponent\n\nModal.info = (props) => {\n return AntdModal.info({\n icon: <Icon type=\"info-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.success = (props) => {\n return AntdModal.success({\n icon: <Icon type=\"check-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.error = (props) => {\n return AntdModal.error({\n icon: <Icon type=\"close-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.warning = (props) => {\n return AntdModal.warning({\n icon: <Icon type=\"exclamation-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.warn = (props) => {\n return AntdModal.warn({\n icon: <Icon type=\"exclamation-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.confirm = (props) => {\n return AntdModal.confirm({\n icon: <Icon type=\"question-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.destroyAll = AntdModal.destroyAll\n"]}
1
+ {"version":3,"file":"modal.js","sourceRoot":"","sources":["../../src/modal/modal.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;GAOG;AACH,+CAAyC;AAEzC,4DAAmC;AACnC,wDAAmD;AACnD,0DAAoD;AACpD,mDAAyC;AACzC,oCAAuC;AACvC,gDAA6B;AAC7B,uCAA6D;AAmBhD,QAAA,KAAK,GAAG,IAAA,kBAAU,EAC7B,CAAC,EAAqF,EAAE,GAAG,EAAE,EAAE;QAA9F,EAAE,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,GAAG,KAAK,OAAW,EAAN,IAAI,cAAnF,4EAAqF,CAAF;IAClF,OAAO,CACL,8BAAC,gCAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,OAAO,CACL,8BAAC,eAAS,kBACR,SAAS,EAAE,IAAA,oBAAU,EACnB,YAAY,EACZ,WAAW,IAAI,oBAAoB,EACnC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,CAAA,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAA,IAAI,2BAA2B,EAC3D,SAAS,CACV,IACG,IAAI,IACR,KAAK,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAA,oBAAY,EAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,KAAK,EACvE,GAAG,EAAE,GAAG,IACR,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CACgB,CAAA;AAEnB,aAAK,CAAC,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,eAAS,CAAC,IAAI,iBACnB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,QAAQ,GAAG,IAC7C,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,OAAO,eAAS,CAAC,OAAO,iBACtB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,QAAQ,GAAG,IAC9C,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,KAAK,GAAG,CAAC,KAAK,EAAE,EAAE;IACtB,OAAO,eAAS,CAAC,KAAK,iBACpB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,QAAQ,GAAG,IAC9C,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,OAAO,eAAS,CAAC,OAAO,iBACtB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,oBAAoB,EAAC,KAAK,EAAC,QAAQ,GAAG,IACpD,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,eAAS,CAAC,IAAI,iBACnB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,oBAAoB,EAAC,KAAK,EAAC,QAAQ,GAAG,IACpD,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACxB,OAAO,eAAS,CAAC,OAAO,iBACtB,IAAI,EAAE,8BAAC,cAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,QAAQ,GAAG,IACjD,KAAK,EACR,CAAA;AACJ,CAAC,CAAA;AAED,aAAK,CAAC,UAAU,GAAG,eAAS,CAAC,UAAU,CAAA","sourcesContent":["/*\n * @Author: 周泽飞 zefei.zhou@tongdun.net\n * @Date: 2023-03-08 17:45:01\n * @LastEditors: 郑泳健\n * @LastEditTime: 2025-06-24 11:44:10\n * @FilePath: /tntd/packages/tntd/src/modal/modal.tsx\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\nimport React, { forwardRef } from 'react'\nimport type { ModalProps as AntdModalProps } from 'antd/lib/modal'\nimport classNames from 'classnames'\nimport { ConfigConsumer } from '../config-provider'\nimport { default as AntdModal } from 'antd/lib/modal'\nimport { default as Icon } from '../icon'\nimport { doUpperTitle } from '../utils'\nexport * from 'antd/lib/modal'\nexport { ActionButtonProps, ModalProps } from 'antd/lib/modal'\n\nexport interface CurModalProps extends AntdModalProps {\n upperCaseIgnore?: []\n unUpperConverted?: boolean\n innerScroll?: boolean\n}\n\ninterface ModalComponent\n extends React.ForwardRefExoticComponent<CurModalProps & React.RefAttributes<AntdModal>> {\n info: typeof AntdModal.info\n success: typeof AntdModal.success\n error: typeof AntdModal.error\n warning: typeof AntdModal.warning\n warn: typeof AntdModal.warn\n confirm: typeof AntdModal.confirm\n destroyAll: typeof AntdModal.destroyAll\n}\n\nexport const Modal = forwardRef<AntdModal, CurModalProps>(\n ({ title, className, upperCaseIgnore, unUpperConverted, innerScroll = false, ...rest }, ref) => {\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n return (\n <AntdModal\n className={classNames(\n 'tntd-modal',\n innerScroll && 'modal-inner-scroll',\n !rest?.footer && !rest?.onOk && 'modal-inner-scroll-footer',\n className\n )}\n {...rest}\n title={!unUpperConverted ? doUpperTitle(title, upperCaseIgnore) : title}\n ref={ref}\n />\n )\n }}\n </ConfigConsumer>\n )\n }\n) as ModalComponent\n\nModal.info = (props) => {\n return AntdModal.info({\n icon: <Icon type=\"info-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.success = (props) => {\n return AntdModal.success({\n icon: <Icon type=\"check-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.error = (props) => {\n return AntdModal.error({\n icon: <Icon type=\"close-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.warning = (props) => {\n return AntdModal.warning({\n icon: <Icon type=\"exclamation-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.warn = (props) => {\n return AntdModal.warn({\n icon: <Icon type=\"exclamation-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.confirm = (props) => {\n return AntdModal.confirm({\n icon: <Icon type=\"question-circle\" theme=\"filled\" />,\n ...props,\n })\n}\n\nModal.destroyAll = AntdModal.destroyAll\n"]}
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
2
+
3
3
  require("../../style/index.less");
4
4
  require("./index.less");
5
- // style dependencies
6
- require("../../button/style");
7
- //# sourceMappingURL=index.js.map
5
+ require("../../button/style");
@@ -1,11 +1,24 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SvgErrorTip = exports.SvgSuccessTip = void 0;
7
- var svg_success_tip_1 = require("./svg-success-tip");
8
- Object.defineProperty(exports, "SvgSuccessTip", { enumerable: true, get: function () { return __importDefault(svg_success_tip_1).default; } });
9
- var svg_error_tip_1 = require("./svg-error-tip");
10
- Object.defineProperty(exports, "SvgErrorTip", { enumerable: true, get: function () { return __importDefault(svg_error_tip_1).default; } });
11
- //# sourceMappingURL=index.js.map
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "SvgErrorTip", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _svgErrorTip["default"];
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "SvgSuccessTip", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _svgSuccessTip["default"];
16
+ }
17
+ });
18
+ var _svgSuccessTip = _interopRequireDefault(require("./svg-success-tip"));
19
+ var _svgErrorTip = _interopRequireDefault(require("./svg-error-tip"));
20
+ function _interopRequireDefault(e) {
21
+ return e && e.__esModule ? e : {
22
+ "default": e
23
+ };
24
+ }
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- declare const MemoForwardRef: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<React.SVGProps<SVGSVGElement>, "string" | "type" | "className" | "onClick" | "style" | "focusable" | "children" | "fill" | "width" | "height" | "aria-hidden" | "tabIndex" | "onKeyUp" | "viewBox" | "rotate" | "role" | "clipPath" | "filter" | "mask" | "path" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "color" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & React.RefAttributes<SVGSVGElement>>>;
2
+ declare const MemoForwardRef: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<React.SVGProps<SVGSVGElement>, "string" | "children" | "by" | "from" | "in" | "to" | "lang" | "target" | "path" | "style" | "clipPath" | "filter" | "mask" | "type" | "className" | "onClick" | "focusable" | "fill" | "width" | "height" | "aria-hidden" | "tabIndex" | "onKeyUp" | "viewBox" | "rotate" | "role" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "color" | "id" | "max" | "media" | "method" | "min" | "name" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "imageRendering" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & React.RefAttributes<SVGSVGElement>>>;
3
3
  export default MemoForwardRef;
4
4
  //# sourceMappingURL=svg-error-tip.d.ts.map