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,104 +1,163 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _classnames2 = _interopRequireDefault(require("classnames"));
10
+ var _queryForm = _interopRequireDefault(require("../query-form"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
19
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
20
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
21
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
22
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
23
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
24
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
25
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
26
+ var t = {};
27
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
28
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
29
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
30
+ }
31
+ return t;
11
32
  };
12
- import React from 'react';
13
- import classnames from 'classnames';
14
- import Form from '../query-form';
15
- const clsPrefix = 'tnt-querylistscene-queryform';
16
- export default class QueryForm extends React.PureComponent {
17
- constructor(props) {
18
- super(props);
19
- Object.defineProperty(this, "onSearch", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: (searchObj) => {
24
- const { onSearch, actions } = this.props;
25
- const values = actions.getFormData();
26
- const params = Object.assign(Object.assign(Object.assign({}, values), (searchObj || {})), { current: 1 });
27
- // memory url解析setForm时 监听事件异步
28
- actions.setData('formData', values);
29
- Promise.resolve().then(() => {
30
- onSearch && onSearch(params);
31
- actions.emit('search', params);
32
- });
33
- }
34
- });
35
- Object.defineProperty(this, "onReset", {
36
- enumerable: true,
37
- configurable: true,
38
- writable: true,
39
- value: () => {
40
- const { initialValues, onReset, actions } = this.props;
41
- actions.setFormData(initialValues, false);
42
- onReset === null || onReset === void 0 ? void 0 : onReset(initialValues);
43
- this.onSearch();
44
- }
45
- });
46
- Object.defineProperty(this, "onChange", {
47
- enumerable: true,
48
- configurable: true,
49
- writable: true,
50
- value: (newValues, changedInfo, ...rest) => {
51
- const { onChange, actions } = this.props;
52
- actions.setFormData(newValues, false);
53
- onChange === null || onChange === void 0 ? void 0 : onChange(newValues, changedInfo, ...rest);
54
- }
55
- });
56
- Object.defineProperty(this, "setFormData", {
57
- enumerable: true,
58
- configurable: true,
59
- writable: true,
60
- value: (data, needSearch) => {
61
- const { actions } = this.props;
62
- actions.setData('formData', data);
63
- this.form.setValues(data);
64
- needSearch && this.onSearch();
65
- }
33
+ var clsPrefix = 'tnt-querylistscene-queryform';
34
+ var QueryForm = exports["default"] = /*#__PURE__*/function (_React$PureComponent) {
35
+ function QueryForm(props) {
36
+ var _this;
37
+ _classCallCheck(this, QueryForm);
38
+ _this = _callSuper(this, QueryForm, [props]);
39
+ Object.defineProperty(_this, "onSearch", {
40
+ enumerable: true,
41
+ configurable: true,
42
+ writable: true,
43
+ value: function value(searchObj) {
44
+ var _this$props = _this.props,
45
+ onSearch = _this$props.onSearch,
46
+ actions = _this$props.actions;
47
+ var values = actions.getFormData();
48
+ var params = Object.assign(Object.assign(Object.assign({}, values), searchObj || {}), {
49
+ current: 1
66
50
  });
67
- Object.defineProperty(this, "resetFormData", {
68
- enumerable: true,
69
- configurable: true,
70
- writable: true,
71
- value: (needSearch) => {
72
- const { initialValues, actions } = this.props;
73
- actions.setFormData(initialValues, needSearch);
74
- this.form.resetValues();
75
- }
51
+ // memory 与 url解析setForm时 监听事件异步
52
+ actions.setData('formData', values);
53
+ Promise.resolve().then(function () {
54
+ onSearch && onSearch(params);
55
+ actions.emit('search', params);
76
56
  });
77
- const { actions, form } = props;
78
- this.form = form || Form.createForm();
79
- actions.on('setFormData', this.setFormData);
80
- actions.on('resetFormData', this.resetFormData);
81
- }
82
- render() {
83
- const _a = this.props, { className, actions, extraActions, extralActions, qlsProps } = _a, props = __rest(_a, ["className", "actions", "extraActions", "extralActions", "qlsProps"]);
84
- return (React.createElement(Form, Object.assign({}, props, { form: this.form, className: classnames(clsPrefix, { [className]: className }),
85
- // 前期拼写错误,导致需要兼容错误的api
86
- extraActions: extraActions || extralActions, onChange: this.onChange, onSearch: this.onSearch, onReset: this.onReset })));
87
- }
88
- componentDidMount() {
89
- const { initialValues = {}, actions, qlsProps, memory } = this.props;
90
- if (qlsProps.memory || memory) {
91
- actions.setFormData(Object.assign(Object.assign({}, initialValues), actions.getFormData()), false);
92
- }
93
- else {
94
- actions.setData('formData', initialValues);
57
+ }
58
+ });
59
+ Object.defineProperty(_this, "onReset", {
60
+ enumerable: true,
61
+ configurable: true,
62
+ writable: true,
63
+ value: function value() {
64
+ var _this$props2 = _this.props,
65
+ initialValues = _this$props2.initialValues,
66
+ onReset = _this$props2.onReset,
67
+ actions = _this$props2.actions;
68
+ actions.setFormData(initialValues, false);
69
+ onReset === null || onReset === void 0 ? void 0 : onReset(initialValues);
70
+ _this.onSearch();
71
+ }
72
+ });
73
+ Object.defineProperty(_this, "onChange", {
74
+ enumerable: true,
75
+ configurable: true,
76
+ writable: true,
77
+ value: function value(newValues, changedInfo) {
78
+ var _this$props3 = _this.props,
79
+ onChange = _this$props3.onChange,
80
+ actions = _this$props3.actions;
81
+ actions.setFormData(newValues, false);
82
+ for (var _len = arguments.length, rest = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
83
+ rest[_key - 2] = arguments[_key];
95
84
  }
85
+ onChange === null || onChange === void 0 ? void 0 : onChange.apply(void 0, [newValues, changedInfo].concat(rest));
86
+ }
87
+ });
88
+ Object.defineProperty(_this, "setFormData", {
89
+ enumerable: true,
90
+ configurable: true,
91
+ writable: true,
92
+ value: function value(data, needSearch) {
93
+ var actions = _this.props.actions;
94
+ actions.setData('formData', data);
95
+ _this.form.setValues(data);
96
+ needSearch && _this.onSearch();
97
+ }
98
+ });
99
+ Object.defineProperty(_this, "resetFormData", {
100
+ enumerable: true,
101
+ configurable: true,
102
+ writable: true,
103
+ value: function value(needSearch) {
104
+ var _this$props4 = _this.props,
105
+ initialValues = _this$props4.initialValues,
106
+ actions = _this$props4.actions;
107
+ actions.setFormData(initialValues, needSearch);
108
+ _this.form.resetValues();
109
+ }
110
+ });
111
+ var actions = props.actions,
112
+ form = props.form;
113
+ _this.form = form || _queryForm["default"].createForm();
114
+ actions.on('setFormData', _this.setFormData);
115
+ actions.on('resetFormData', _this.resetFormData);
116
+ return _this;
117
+ }
118
+ _inherits(QueryForm, _React$PureComponent);
119
+ return _createClass(QueryForm, [{
120
+ key: "render",
121
+ value: function render() {
122
+ var _a = this.props,
123
+ className = _a.className,
124
+ actions = _a.actions,
125
+ extraActions = _a.extraActions,
126
+ extralActions = _a.extralActions,
127
+ qlsProps = _a.qlsProps,
128
+ props = __rest(_a, ["className", "actions", "extraActions", "extralActions", "qlsProps"]);
129
+ return _react["default"].createElement(_queryForm["default"], Object.assign({}, props, {
130
+ form: this.form,
131
+ className: (0, _classnames2["default"])(clsPrefix, _defineProperty({}, className, className)),
132
+ // 前期拼写错误,导致需要兼容错误的api
133
+ extraActions: extraActions || extralActions,
134
+ onChange: this.onChange,
135
+ onSearch: this.onSearch,
136
+ onReset: this.onReset
137
+ }));
138
+ }
139
+ }, {
140
+ key: "componentDidMount",
141
+ value: function componentDidMount() {
142
+ var _this$props5 = this.props,
143
+ _this$props5$initialV = _this$props5.initialValues,
144
+ initialValues = _this$props5$initialV === void 0 ? {} : _this$props5$initialV,
145
+ actions = _this$props5.actions,
146
+ qlsProps = _this$props5.qlsProps,
147
+ memory = _this$props5.memory;
148
+ if (qlsProps.memory || memory) {
149
+ actions.setFormData(Object.assign(Object.assign({}, initialValues), actions.getFormData()), false);
150
+ } else {
151
+ actions.setData('formData', initialValues);
152
+ }
96
153
  }
97
- componentWillUnmount() {
98
- const { actions } = this.props;
99
- actions.removeListener('setFormData', this.setFormData);
100
- actions.removeListener('resetFormData', this.resetFormData);
154
+ }, {
155
+ key: "componentWillUnmount",
156
+ value: function componentWillUnmount() {
157
+ var actions = this.props.actions;
158
+ actions.removeListener('setFormData', this.setFormData);
159
+ actions.removeListener('resetFormData', this.resetFormData);
101
160
  }
102
- }
103
- QueryForm.Field = Form.Field;
104
- //# sourceMappingURL=QueryForm.js.map
161
+ }]);
162
+ }(_react["default"].PureComponent);
163
+ QueryForm.Field = _queryForm["default"].Field;
@@ -1,27 +1,64 @@
1
- import React from 'react';
2
- import cn from 'classnames';
3
- import Title from './Title';
4
- import Toolbar from './Toolbar';
5
- import createActions from './createActions';
6
- export default class QueryListScene extends React.Component {
7
- constructor(props) {
8
- super(props);
9
- this.actions = props.actions || createActions();
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _classnames = _interopRequireDefault(require("classnames"));
10
+ var _Title = _interopRequireDefault(require("./Title"));
11
+ var _Toolbar = _interopRequireDefault(require("./Toolbar"));
12
+ var _createActions = _interopRequireDefault(require("./createActions"));
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
20
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
21
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
22
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
23
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
24
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
25
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
26
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
27
+ var QueryListScene = exports["default"] = /*#__PURE__*/function (_React$Component) {
28
+ function QueryListScene(props) {
29
+ var _this;
30
+ _classCallCheck(this, QueryListScene);
31
+ _this = _callSuper(this, QueryListScene, [props]);
32
+ _this.actions = props.actions || (0, _createActions["default"])();
33
+ return _this;
34
+ }
35
+ _inherits(QueryListScene, _React$Component);
36
+ return _createClass(QueryListScene, [{
37
+ key: "render",
38
+ value: function render() {
39
+ var _this2 = this;
40
+ var _this$props = this.props,
41
+ title = _this$props.title,
42
+ children = _this$props.children,
43
+ size = _this$props.size,
44
+ _this$props$className = _this$props.className,
45
+ className = _this$props$className === void 0 ? '' : _this$props$className;
46
+ var hasToolbar = [].some.call(children || [], function (child) {
47
+ return (child === null || child === void 0 ? void 0 : child.type) === _Toolbar["default"];
48
+ });
49
+ return _react["default"].createElement("div", {
50
+ className: (0, _classnames["default"])('tnt-querylistscene', _defineProperty(_defineProperty(_defineProperty({}, className, className), 'large-size', size === 'large'), "hasToolbar", hasToolbar))
51
+ }, title && _react["default"].createElement(_Title["default"], {
52
+ title: title,
53
+ size: size
54
+ }), _react["default"].createElement("div", {
55
+ className: "tnt-querylistscene-content"
56
+ }, _react["default"].Children.map(children, function (child) {
57
+ return child && _react["default"].cloneElement(child, {
58
+ qlsProps: _this2.props,
59
+ actions: _this2.actions
60
+ });
61
+ })));
10
62
  }
11
- render() {
12
- const { title, children, size, className = '' } = this.props;
13
- const hasToolbar = [].some.call(children || [], (child) => (child === null || child === void 0 ? void 0 : child.type) === Toolbar);
14
- return (React.createElement("div", { className: cn('tnt-querylistscene', {
15
- [className]: className,
16
- 'large-size': size === 'large',
17
- hasToolbar,
18
- }) },
19
- title && React.createElement(Title, { title: title, size: size }),
20
- React.createElement("div", { className: "tnt-querylistscene-content" }, React.Children.map(children, (child) => child &&
21
- React.cloneElement(child, {
22
- qlsProps: this.props,
23
- actions: this.actions,
24
- })))));
25
- }
26
- }
27
- //# sourceMappingURL=QueryListScene.js.map
63
+ }]);
64
+ }(_react["default"].Component);
@@ -1,9 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
1
9
  /**
2
10
  * @file Title
3
11
  * @author zhangyou
4
12
  */
5
- import React from 'react';
6
- export default ({ title, children }) => (React.createElement("div", { className: "tnt-querylistscene-title" },
7
- React.createElement("span", null, title),
8
- React.createElement("span", null, children)));
9
- //# sourceMappingURL=Title.js.map
13
+ var _default = exports["default"] = function _default(_ref) {
14
+ var title = _ref.title,
15
+ children = _ref.children;
16
+ return _react["default"].createElement("div", {
17
+ className: "tnt-querylistscene-title"
18
+ }, _react["default"].createElement("span", null, title), _react["default"].createElement("span", null, children));
19
+ };
@@ -1,18 +1,31 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _classnames = _interopRequireDefault(require("classnames"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
12
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
13
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
15
+ var t = {};
16
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
11
21
  };
12
- import React from 'react';
13
- import cn from 'classnames';
14
- export default (_a) => {
15
- var { className, children, actions, qslProps } = _a, rest = __rest(_a, ["className", "children", "actions", "qslProps"]);
16
- return (React.createElement("div", Object.assign({}, rest, { className: cn('tnt-querylistscene-toolbar', { [className]: className }) }), children));
17
- };
18
- //# sourceMappingURL=Toolbar.js.map
22
+ var _default = exports["default"] = function _default(_a) {
23
+ var className = _a.className,
24
+ children = _a.children,
25
+ actions = _a.actions,
26
+ qslProps = _a.qslProps,
27
+ rest = __rest(_a, ["className", "children", "actions", "qslProps"]);
28
+ return _react["default"].createElement("div", Object.assign({}, rest, {
29
+ className: (0, _classnames["default"])('tnt-querylistscene-toolbar', _defineProperty({}, className, className))
30
+ }), children);
31
+ };
@@ -1,61 +1,80 @@
1
- import EventEmitter from 'eventemitter3';
2
- import { get, set } from 'lodash';
3
- export default () => {
4
- const eventEmitter = new EventEmitter();
5
- const data = {
6
- dataSource: [],
7
- pagination: {},
8
- formData: {},
9
- submittedFormData: {},
10
- };
11
- return {
12
- setData: (key, val) => {
13
- set(data, key, val);
14
- },
15
- getFormData: (name) => get(data, `formData${name ? '.' + name : ''}`),
16
- getSubmittedFormData: (name) => get(data, `submittedFormData${name ? '.' + name : ''}`),
17
- getTableDataSource: () => get(data, 'dataSource'),
18
- getPagination: () => get(data, 'pagination'),
19
- setFormData: (formData, needSearch = true) => {
20
- set(data, 'formData', formData);
21
- eventEmitter.emit('setFormData', formData, needSearch);
22
- },
23
- resetFormData: (needSearch = false) => {
24
- eventEmitter.emit('resetFormData', needSearch);
25
- },
26
- setTableDataSource: (dataSource) => {
27
- set(data, 'dataSource', dataSource);
28
- eventEmitter.emit('setTableDataSource', dataSource);
29
- },
30
- setPagination: (pagination) => {
31
- set(data, 'pagination', pagination);
32
- eventEmitter.emit('setPagination', pagination);
33
- },
34
- // 重置记忆数据,form、pagination
35
- resetMemoryData: () => {
36
- data.formData = {};
37
- data.pagination = {};
38
- },
39
- search: (params = {}, showLoading = true) => {
40
- return new Promise((resolve) => {
41
- eventEmitter.emit('search', params, {
42
- callback: resolve,
43
- showLoading,
44
- });
45
- });
46
- },
47
- on: (eventName, callback) => {
48
- eventEmitter.on(eventName, callback);
49
- },
50
- emit: (...args) => {
51
- eventEmitter.emit(...args);
52
- },
53
- removeListener: (...args) => {
54
- eventEmitter.removeListener(...args);
55
- },
56
- off: (...args) => {
57
- eventEmitter.removeListener(...args);
58
- },
59
- };
60
- };
61
- //# sourceMappingURL=createActions.js.map
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _set2 = _interopRequireDefault(require("lodash/set"));
8
+ var _get2 = _interopRequireDefault(require("lodash/get"));
9
+ var _eventemitter = _interopRequireDefault(require("eventemitter3"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ var _default = exports["default"] = function _default() {
12
+ var eventEmitter = new _eventemitter["default"]();
13
+ var data = {
14
+ dataSource: [],
15
+ pagination: {},
16
+ formData: {},
17
+ submittedFormData: {}
18
+ };
19
+ return {
20
+ setData: function setData(key, val) {
21
+ (0, _set2["default"])(data, key, val);
22
+ },
23
+ getFormData: function getFormData(name) {
24
+ return (0, _get2["default"])(data, "formData".concat(name ? '.' + name : ''));
25
+ },
26
+ getSubmittedFormData: function getSubmittedFormData(name) {
27
+ return (0, _get2["default"])(data, "submittedFormData".concat(name ? '.' + name : ''));
28
+ },
29
+ getTableDataSource: function getTableDataSource() {
30
+ return (0, _get2["default"])(data, 'dataSource');
31
+ },
32
+ getPagination: function getPagination() {
33
+ return (0, _get2["default"])(data, 'pagination');
34
+ },
35
+ setFormData: function setFormData(formData) {
36
+ var needSearch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
37
+ (0, _set2["default"])(data, 'formData', formData);
38
+ eventEmitter.emit('setFormData', formData, needSearch);
39
+ },
40
+ resetFormData: function resetFormData() {
41
+ var needSearch = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
42
+ eventEmitter.emit('resetFormData', needSearch);
43
+ },
44
+ setTableDataSource: function setTableDataSource(dataSource) {
45
+ (0, _set2["default"])(data, 'dataSource', dataSource);
46
+ eventEmitter.emit('setTableDataSource', dataSource);
47
+ },
48
+ setPagination: function setPagination(pagination) {
49
+ (0, _set2["default"])(data, 'pagination', pagination);
50
+ eventEmitter.emit('setPagination', pagination);
51
+ },
52
+ // 重置记忆数据,form、pagination
53
+ resetMemoryData: function resetMemoryData() {
54
+ data.formData = {};
55
+ data.pagination = {};
56
+ },
57
+ search: function search() {
58
+ var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
59
+ var showLoading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
60
+ return new Promise(function (resolve) {
61
+ eventEmitter.emit('search', params, {
62
+ callback: resolve,
63
+ showLoading: showLoading
64
+ });
65
+ });
66
+ },
67
+ on: function on(eventName, callback) {
68
+ eventEmitter.on(eventName, callback);
69
+ },
70
+ emit: function emit() {
71
+ eventEmitter.emit.apply(eventEmitter, arguments);
72
+ },
73
+ removeListener: function removeListener() {
74
+ eventEmitter.removeListener.apply(eventEmitter, arguments);
75
+ },
76
+ off: function off() {
77
+ eventEmitter.removeListener.apply(eventEmitter, arguments);
78
+ }
79
+ };
80
+ };
@@ -1,20 +1,26 @@
1
- import QueryListScene from './QueryListScene';
2
- import Title from './Title';
3
- import Form from './QueryForm';
4
- import Toolbar from './Toolbar';
5
- import List from './List';
6
- import Actions from './createActions';
7
- import useActions from './useActions';
8
- import './index.less';
9
- export const QueryForm = Form;
10
- export const QueryList = List;
11
- export const createActions = Actions;
12
- QueryListScene.Title = Title;
13
- QueryListScene.QueryForm = Form;
14
- QueryListScene.Toolbar = Toolbar;
15
- QueryListScene.QueryList = List;
16
- QueryListScene.Field = Form.Field;
17
- QueryListScene.useActions = useActions;
18
- QueryListScene.createActions = createActions;
19
- export default QueryListScene;
20
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.createActions = exports.QueryList = exports.QueryForm = void 0;
7
+ var _QueryListScene = _interopRequireDefault(require("./QueryListScene"));
8
+ var _Title = _interopRequireDefault(require("./Title"));
9
+ var _QueryForm = _interopRequireDefault(require("./QueryForm"));
10
+ var _Toolbar = _interopRequireDefault(require("./Toolbar"));
11
+ var _List = _interopRequireDefault(require("./List"));
12
+ var _createActions = _interopRequireDefault(require("./createActions"));
13
+ var _useActions = _interopRequireDefault(require("./useActions"));
14
+ require("./index.less");
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
16
+ var QueryForm = exports.QueryForm = _QueryForm["default"];
17
+ var QueryList = exports.QueryList = _List["default"];
18
+ var createActions = exports.createActions = _createActions["default"];
19
+ _QueryListScene["default"].Title = _Title["default"];
20
+ _QueryListScene["default"].QueryForm = _QueryForm["default"];
21
+ _QueryListScene["default"].Toolbar = _Toolbar["default"];
22
+ _QueryListScene["default"].QueryList = _List["default"];
23
+ _QueryListScene["default"].Field = _QueryForm["default"].Field;
24
+ _QueryListScene["default"].useActions = _useActions["default"];
25
+ _QueryListScene["default"].createActions = createActions;
26
+ var _default = exports["default"] = _QueryListScene["default"];