tntd 2.8.38 → 2.8.39

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 (556) hide show
  1. package/es/_util/context.js +1 -1
  2. package/es/_util/defaultRenderEmpty.js +1 -1
  3. package/es/_util/hooks/useFlexGapSupport.js +4 -4
  4. package/es/_util/hooks/useForceUpdate.js +4 -4
  5. package/es/_util/hooks/useScrollLock.js +64 -0
  6. package/es/_util/hooks/useScrollLock.js.map +1 -0
  7. package/es/_util/responsiveObserve.js +1 -1
  8. package/es/_util/styleChecker.js +1 -1
  9. package/es/actions/index.js +1 -1
  10. package/es/alert/alert.js +93 -0
  11. package/es/alert/alert.js.map +1 -0
  12. package/es/anchor/anchor.js +96 -0
  13. package/es/anchor/anchor.js.map +1 -0
  14. package/es/array-input/icon.js +32 -0
  15. package/es/array-input/icon.js.map +1 -0
  16. package/es/array-input/index.js +9 -9
  17. package/es/cascader/cascader.js +49 -0
  18. package/es/cascader/cascader.js.map +1 -0
  19. package/es/check-card/group.js +8 -8
  20. package/es/check-card/index.js +6 -6
  21. package/es/checkbox/checkbox-group.js +1 -1
  22. package/es/checkbox/checkbox.js +65 -0
  23. package/es/checkbox/checkbox.js.map +1 -0
  24. package/es/color-picker/ColorPicker.js +6 -6
  25. package/es/color-picker/index.js +1 -1
  26. package/es/columns/index.js +1 -1
  27. package/es/config-provider/config-provider.js +1 -1
  28. package/es/date-picker/DatePicker.js +128 -0
  29. package/es/date-picker/DatePicker.js.map +1 -0
  30. package/es/descriptions/descriptions.js +5 -5
  31. package/es/development-login/LoginModal.js +6 -6
  32. package/es/development-login/index.js +4 -4
  33. package/es/drawer/drawer.js +2 -2
  34. package/es/ellipsis/Svg/CopySVG.js +1 -1
  35. package/es/ellipsis/Svg/TickSVG.js +1 -1
  36. package/es/ellipsis/index.js +16 -6
  37. package/es/ellipsis/index.js.map +1 -1
  38. package/es/empty/empty.js +2 -2
  39. package/es/empty/empty.stories.js +2 -2
  40. package/es/exception/exception.js +1 -1
  41. package/es/form/form.js +2 -2
  42. package/es/grid-v4/col.js +2 -2
  43. package/es/grid-v4/hooks/useBreakpoint.js +1 -1
  44. package/es/grid-v4/index.js +1 -1
  45. package/es/grid-v4/row.js +6 -6
  46. package/es/handle/index.js +1 -1
  47. package/es/handle-icon/index.js +11 -11
  48. package/es/icon/IconFont.js +1 -1
  49. package/es/icon/components/Icon.js +9 -9
  50. package/es/icon/components/index.js +1 -1
  51. package/es/icon/components/utils.js +3 -3
  52. package/es/icon/index.js +7 -7
  53. package/es/icon/twoTonePrimaryColor.js +1 -1
  54. package/es/icon/utils.js +1 -1
  55. package/es/img/Contain.js +1 -1
  56. package/es/img/Cover.js +5 -5
  57. package/es/img/index.js +5 -5
  58. package/es/index.js +1 -1
  59. package/es/input/input.js +2 -2
  60. package/es/input-number/index.js +1 -1
  61. package/es/input-number/inputNumber.js +54 -0
  62. package/es/input-number/inputNumber.js.map +1 -0
  63. package/es/label/index.js +2 -2
  64. package/es/loading-button/index.js +5 -5
  65. package/es/locale/default.js +1 -1
  66. package/es/locale/en_US.js +1 -1
  67. package/es/locale/zh_CN.js +1 -1
  68. package/es/modal/modal.js +1 -1
  69. package/es/notification/assets/index.js +1 -1
  70. package/es/notification/index.js +1 -1
  71. package/es/notification/notification.js +1 -1
  72. package/es/page/Box.js +1 -1
  73. package/es/page/index.js +7 -7
  74. package/es/page-container/index.js +1 -1
  75. package/es/page-loading/index.js +1 -1
  76. package/es/page-loading/index.less +4 -4
  77. package/es/page-loading/loading.gif +0 -0
  78. package/es/page-loading/loading1.gif +0 -0
  79. package/es/popconfirm/popconfirm.js +61 -0
  80. package/es/popconfirm/popconfirm.js.map +1 -0
  81. package/es/popover/popover.js +55 -0
  82. package/es/popover/popover.js.map +1 -0
  83. package/es/preview-text/index.js +7 -7
  84. package/es/progress/progress.js +148 -0
  85. package/es/progress/progress.js.map +1 -0
  86. package/es/query-form/Field/Checkbox.js +1 -1
  87. package/es/query-form/Field/Composition/FieldPopover.js +464 -0
  88. package/es/query-form/Field/Composition/FieldPopover.js.map +1 -0
  89. package/es/query-form/Field/Composition/FieldPopover.less +35 -0
  90. package/es/query-form/Field/Composition/Select.js +260 -0
  91. package/es/query-form/Field/Composition/Select.js.map +1 -0
  92. package/es/query-form/Field/Composition/SelectInput.js +112 -0
  93. package/es/query-form/Field/Composition/SelectInput.js.map +1 -0
  94. package/es/query-form/Field/Composition/ValueTag.js +240 -0
  95. package/es/query-form/Field/Composition/ValueTag.js.map +1 -0
  96. package/es/query-form/Field/Composition/index.js +448 -0
  97. package/es/query-form/Field/Composition/index.js.map +1 -0
  98. package/es/query-form/Field/Composition/index.less +145 -0
  99. package/es/query-form/Field/Composition/utils.js +173 -0
  100. package/es/query-form/Field/Composition/utils.js.map +1 -0
  101. package/es/query-form/Field/Select.js +6 -6
  102. package/es/query-form/Field/SelectInput.js +6 -6
  103. package/es/query-form/Field/fieldsMap.js +1 -1
  104. package/es/query-form/Field/index.js +10 -10
  105. package/es/query-form/createActions.js +1 -1
  106. package/es/query-form/index.js +10 -10
  107. package/es/query-form/useForm.js +1 -1
  108. package/es/query-form-v2/index.less +133 -0
  109. package/es/query-list-scene/List.js +13 -13
  110. package/es/query-list-scene/QueryForm.js +10 -10
  111. package/es/query-list-scene/QueryListScene.js +10 -10
  112. package/es/query-list-scene/Title.js +1 -1
  113. package/es/query-list-scene/Toolbar.js +2 -2
  114. package/es/query-list-scene/createActions.js +1 -1
  115. package/es/query-list-scene/index.js +1 -1
  116. package/es/query-list-scene/useActions.js +1 -1
  117. package/es/radio/index.js +1 -1
  118. package/es/radio/radio-group.js +1 -1
  119. package/es/radio/radio.js +75 -0
  120. package/es/radio/radio.js.map +1 -0
  121. package/es/render-empty/render-empty.js +1 -1
  122. package/es/scroll-bar/Bar.js +169 -0
  123. package/es/scroll-bar/Bar.js.map +1 -0
  124. package/es/scroll-bar/Context.js +17 -0
  125. package/es/scroll-bar/Context.js.map +1 -0
  126. package/es/scroll-bar/ScrollBar.js +132 -0
  127. package/es/scroll-bar/ScrollBar.js.map +1 -0
  128. package/es/scroll-bar/Thumb.js +203 -0
  129. package/es/scroll-bar/Thumb.js.map +1 -0
  130. package/es/scroll-bar/index.js +14 -0
  131. package/es/scroll-bar/index.js.map +1 -0
  132. package/es/scroll-bar/scrollBar.less +59 -0
  133. package/es/scroll-bar/util.js +72 -0
  134. package/es/scroll-bar/util.js.map +1 -0
  135. package/es/segmented/index.js +2 -2
  136. package/es/select/select.js +2 -2
  137. package/es/spin/spin.js +44 -0
  138. package/es/spin/spin.js.map +1 -0
  139. package/es/steps/steps.js +2 -2
  140. package/es/svg-components/index.js +1 -1
  141. package/es/switch/switch.js +1 -1
  142. package/es/table/hooks/use-column-setting.js +4 -4
  143. package/es/table/hooks/use-expand-fixed.js +6 -6
  144. package/es/table/resizableTable/index.js +6 -6
  145. package/es/table/table-hoc.js +1 -1
  146. package/es/table/table.js +9 -9
  147. package/es/table/table.stories.js +2 -2
  148. package/es/table/total-shower.js +1 -1
  149. package/es/table/utils.js +1 -1
  150. package/es/table-container/index.js +1 -1
  151. package/es/tabs-container/index.js +1 -1
  152. package/es/tag/tag.js +2 -2
  153. package/es/time-picker/TimePicker.js +55 -0
  154. package/es/time-picker/TimePicker.js.map +1 -0
  155. package/es/title/index.js +1 -1
  156. package/es/tntd-action/Action.js +141 -0
  157. package/es/tntd-action/Action.js.map +1 -0
  158. package/es/tntd-cascader/AntdCascader/component/context.js +1 -1
  159. package/es/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +1 -1
  160. package/es/tntd-cascader/AntdCascader/component/getIcons.js +1 -1
  161. package/es/tntd-cascader/AntdCascader/component/useCompactItemContext.js +2 -2
  162. package/es/tntd-cascader/AntdCascader/config/utils.js +2 -2
  163. package/es/tntd-cascader/AntdCascader/index.js +7 -7
  164. package/es/tntd-cascader/index.js +1 -1
  165. package/es/tntd-cascader/rc-cascader/Cascader.js +8 -8
  166. package/es/tntd-cascader/rc-cascader/OptionList/Checkbox.js +2 -2
  167. package/es/tntd-cascader/rc-cascader/OptionList/Column.js +7 -7
  168. package/es/tntd-cascader/rc-cascader/OptionList/index.js +9 -9
  169. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +5 -5
  170. package/es/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +8 -8
  171. package/es/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +5 -5
  172. package/es/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +1 -1
  173. package/es/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +6 -6
  174. package/es/tntd-cascader/rc-cascader/index.js +1 -1
  175. package/es/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +4 -4
  176. package/es/tntd-form/ErrorList.js +7 -7
  177. package/es/tntd-form/Form.js +6 -6
  178. package/es/tntd-form/FormItem/ItemHolder.js +6 -6
  179. package/es/tntd-form/FormItem/index.js +8 -8
  180. package/es/tntd-form/FormItemInput.js +1 -1
  181. package/es/tntd-form/FormItemLabel.js +2 -2
  182. package/es/tntd-form/FormList.js +1 -1
  183. package/es/tntd-form/context.js +1 -1
  184. package/es/tntd-form/hooks/useDebounce.js +4 -4
  185. package/es/tntd-form/hooks/useForm.js +5 -5
  186. package/es/tntd-form/hooks/useFormItemStatus.js +1 -1
  187. package/es/tntd-form/hooks/useFrameState.js +5 -5
  188. package/es/tntd-form/index.js +1 -1
  189. package/es/tntd-icon/index.js +1 -1
  190. package/es/tntd-layout/AppList.js +6 -6
  191. package/es/tntd-layout/Application.js +6 -6
  192. package/es/tntd-layout/Avatar.js +2 -2
  193. package/es/tntd-layout/CompatibleLanguage.js +6 -6
  194. package/es/tntd-layout/EnterpriseLayout/Avatar.js +2 -2
  195. package/es/tntd-layout/EnterpriseLayout/Language.js +6 -6
  196. package/es/tntd-layout/EnterpriseLayout/Theme.js +6 -6
  197. package/es/tntd-layout/EnterpriseLayout/index.js +1 -1
  198. package/es/tntd-layout/GlobalNavigation/NavigationPopup.js +6 -6
  199. package/es/tntd-layout/GlobalNavigation/index.js +9 -9
  200. package/es/tntd-layout/Header.js +2 -2
  201. package/es/tntd-layout/HeaderActions.js +2 -2
  202. package/es/tntd-layout/HeaderNavs.js +6 -6
  203. package/es/tntd-layout/HeaderTabs.js +7 -7
  204. package/es/tntd-layout/Iconfont.js +1 -1
  205. package/es/tntd-layout/Language.js +6 -6
  206. package/es/tntd-layout/Layout.js +6 -6
  207. package/es/tntd-layout/Logo.js +2 -2
  208. package/es/tntd-layout/OrgAppList.js +6 -6
  209. package/es/tntd-layout/SideMenu.js +6 -6
  210. package/es/tntd-layout/Theme.js +6 -6
  211. package/es/tntd-layout/createActions.js +1 -1
  212. package/es/tntd-layout/images/index.js +1 -1
  213. package/es/tntd-layout/index.js +1 -1
  214. package/es/tntd-layout/paaslayout/CompactSideMenu.js +6 -6
  215. package/es/tntd-layout/paaslayout/Header.js +2 -2
  216. package/es/tntd-layout/paaslayout/Logo.js +2 -2
  217. package/es/tntd-layout/paaslayout/SideMenu.js +6 -6
  218. package/es/tntd-layout/paaslayout/index.js +6 -6
  219. package/es/tntd-layout/storage.js +1 -1
  220. package/es/tntd-modal/index.js +6 -6
  221. package/es/tntd-rc-select/_util/PurePanel.js +5 -5
  222. package/es/tntd-rc-select/_util/context.js +1 -1
  223. package/es/tntd-rc-select/_util/defaultRenderEmpty.js +1 -1
  224. package/es/tntd-rc-select/_util/getIcons.js +1 -1
  225. package/es/tntd-rc-select/_util/useCompactItemContext.js +2 -2
  226. package/es/tntd-rc-select/index.js +2 -2
  227. package/es/tntd-rc-select/style/index.less +20 -2
  228. package/es/tntd-reference/AHref/index.js +1 -1
  229. package/es/tntd-reference/ReferenceBatchCheck/index.js +1 -1
  230. package/es/tntd-reference/ReferenceBatchDrawer/index.js +5 -5
  231. package/es/tntd-reference/ReferenceCheck/index.js +1 -1
  232. package/es/tntd-reference/ReferenceDrawer/index.js +5 -5
  233. package/es/tntd-reference/ReferenceInfo/index.js +1 -1
  234. package/es/tntd-reference/index.js +1 -1
  235. package/es/tntd-second-page/index.js +1 -1
  236. package/es/tntd-select/DropDownWrap.js +8 -8
  237. package/es/tntd-select/index.js +10 -9
  238. package/es/tntd-virtual-tree/index.js +8 -8
  239. package/es/tntd-virtual-tree/utils.js +28 -28
  240. package/es/tntd-virtual-tree-select/index.js +10 -10
  241. package/es/tntd-virtual-tree-select/utils.js +9 -9
  242. package/es/tooltip/tooltip.js +19 -5
  243. package/es/tooltip/tooltip.js.map +1 -1
  244. package/es/upload/index.js +6 -6
  245. package/es/upload/svg/UploadSVG.js +1 -1
  246. package/es/utils/checkAuth.js +4 -4
  247. package/es/utils/index.js +9 -9
  248. package/es/utils/lang.js +1 -1
  249. package/es/water-mark/index.js +5 -5
  250. package/lib/_util/context.js +3 -3
  251. package/lib/_util/defaultRenderEmpty.js +3 -3
  252. package/lib/_util/hooks/useFlexGapSupport.js +14 -15
  253. package/lib/_util/hooks/useForceUpdate.js +14 -15
  254. package/lib/_util/hooks/useScrollLock.d.ts +9 -0
  255. package/lib/_util/hooks/useScrollLock.d.ts.map +1 -0
  256. package/lib/_util/hooks/useScrollLock.js +106 -0
  257. package/lib/_util/hooks/useScrollLock.js.map +1 -0
  258. package/lib/_util/responsiveObserve.js +7 -13
  259. package/lib/_util/styleChecker.js +3 -3
  260. package/lib/actions/index.js +3 -3
  261. package/lib/alert/alert.d.ts +12 -0
  262. package/lib/alert/alert.d.ts.map +1 -0
  263. package/lib/alert/alert.js +147 -0
  264. package/lib/alert/alert.js.map +1 -0
  265. package/lib/anchor/anchor.d.ts +15 -0
  266. package/lib/anchor/anchor.d.ts.map +1 -0
  267. package/lib/anchor/anchor.js +131 -0
  268. package/lib/anchor/anchor.js.map +1 -0
  269. package/lib/array-input/icon.d.ts +4 -0
  270. package/lib/array-input/icon.d.ts.map +1 -0
  271. package/lib/array-input/icon.js +36 -0
  272. package/lib/array-input/icon.js.map +1 -0
  273. package/lib/array-input/index.js +30 -37
  274. package/lib/cascader/cascader.d.ts +10 -0
  275. package/lib/cascader/cascader.d.ts.map +1 -0
  276. package/lib/cascader/cascader.js +84 -0
  277. package/lib/cascader/cascader.js.map +1 -0
  278. package/lib/check-card/group.js +23 -24
  279. package/lib/check-card/index.js +24 -31
  280. package/lib/checkbox/checkbox-group.js +3 -3
  281. package/lib/checkbox/checkbox.d.ts +16 -0
  282. package/lib/checkbox/checkbox.d.ts.map +1 -0
  283. package/lib/checkbox/checkbox.js +100 -0
  284. package/lib/checkbox/checkbox.js.map +1 -0
  285. package/lib/color-picker/ColorPicker.js +24 -31
  286. package/lib/color-picker/index.js +3 -3
  287. package/lib/columns/index.js +3 -3
  288. package/lib/config-provider/config-provider.js +3 -3
  289. package/lib/date-picker/DatePicker.d.ts +21 -0
  290. package/lib/date-picker/DatePicker.d.ts.map +1 -0
  291. package/lib/date-picker/DatePicker.js +163 -0
  292. package/lib/date-picker/DatePicker.js.map +1 -0
  293. package/lib/descriptions/descriptions.js +13 -19
  294. package/lib/development-login/LoginModal.js +24 -31
  295. package/lib/development-login/index.js +14 -15
  296. package/lib/drawer/drawer.js +10 -16
  297. package/lib/ellipsis/Svg/CopySVG.js +3 -3
  298. package/lib/ellipsis/Svg/TickSVG.js +3 -3
  299. package/lib/ellipsis/index.d.ts.map +1 -1
  300. package/lib/ellipsis/index.js +28 -19
  301. package/lib/ellipsis/index.js.map +1 -1
  302. package/lib/empty/empty.js +10 -16
  303. package/lib/empty/empty.stories.js +6 -9
  304. package/lib/exception/exception.js +3 -3
  305. package/lib/form/form.js +10 -16
  306. package/lib/grid-v4/col.js +10 -16
  307. package/lib/grid-v4/hooks/useBreakpoint.js +3 -3
  308. package/lib/grid-v4/index.js +3 -3
  309. package/lib/grid-v4/row.js +24 -31
  310. package/lib/handle/index.js +3 -3
  311. package/lib/handle-icon/index.js +13 -13
  312. package/lib/icon/IconFont.js +3 -3
  313. package/lib/icon/components/Icon.js +44 -70
  314. package/lib/icon/components/index.js +3 -3
  315. package/lib/icon/components/utils.js +10 -18
  316. package/lib/icon/index.js +26 -33
  317. package/lib/icon/twoTonePrimaryColor.js +3 -3
  318. package/lib/icon/utils.js +3 -3
  319. package/lib/img/Contain.js +3 -3
  320. package/lib/img/Cover.js +17 -18
  321. package/lib/img/index.js +17 -18
  322. package/lib/index.js +3 -3
  323. package/lib/input/input.js +10 -16
  324. package/lib/input-number/index.js +3 -3
  325. package/lib/input-number/inputNumber.d.ts +10 -0
  326. package/lib/input-number/inputNumber.d.ts.map +1 -0
  327. package/lib/input-number/inputNumber.js +89 -0
  328. package/lib/input-number/inputNumber.js.map +1 -0
  329. package/lib/label/index.js +10 -16
  330. package/lib/loading-button/index.js +17 -18
  331. package/lib/locale/default.js +3 -3
  332. package/lib/locale/en_US.js +3 -3
  333. package/lib/locale/zh_CN.js +3 -3
  334. package/lib/modal/modal.js +3 -3
  335. package/lib/notification/assets/index.js +3 -3
  336. package/lib/notification/index.js +3 -3
  337. package/lib/notification/notification.js +3 -3
  338. package/lib/page/Box.js +3 -3
  339. package/lib/page/index.js +26 -33
  340. package/lib/page-container/index.js +3 -3
  341. package/lib/page-loading/index.js +3 -3
  342. package/lib/page-loading/index.less +4 -4
  343. package/lib/page-loading/loading.gif +0 -0
  344. package/lib/page-loading/loading1.gif +0 -0
  345. package/lib/popconfirm/popconfirm.d.ts +8 -0
  346. package/lib/popconfirm/popconfirm.d.ts.map +1 -0
  347. package/lib/popconfirm/popconfirm.js +96 -0
  348. package/lib/popconfirm/popconfirm.js.map +1 -0
  349. package/lib/popover/popover.d.ts +14 -0
  350. package/lib/popover/popover.d.ts.map +1 -0
  351. package/lib/popover/popover.js +90 -0
  352. package/lib/popover/popover.js.map +1 -0
  353. package/lib/preview-text/index.js +9 -9
  354. package/lib/progress/progress.d.ts +12 -0
  355. package/lib/progress/progress.d.ts.map +1 -0
  356. package/lib/progress/progress.js +179 -0
  357. package/lib/progress/progress.js.map +1 -0
  358. package/lib/query-form/Field/Checkbox.js +3 -3
  359. package/lib/query-form/Field/Composition/FieldPopover.d.ts +19 -0
  360. package/lib/query-form/Field/Composition/FieldPopover.d.ts.map +1 -0
  361. package/lib/query-form/Field/Composition/FieldPopover.js +464 -0
  362. package/lib/query-form/Field/Composition/FieldPopover.js.map +1 -0
  363. package/lib/query-form/Field/Composition/FieldPopover.less +35 -0
  364. package/lib/query-form/Field/Composition/Select.d.ts +4 -0
  365. package/lib/query-form/Field/Composition/Select.d.ts.map +1 -0
  366. package/lib/query-form/Field/Composition/Select.js +260 -0
  367. package/lib/query-form/Field/Composition/Select.js.map +1 -0
  368. package/lib/query-form/Field/Composition/SelectInput.d.ts +3 -0
  369. package/lib/query-form/Field/Composition/SelectInput.d.ts.map +1 -0
  370. package/lib/query-form/Field/Composition/SelectInput.js +112 -0
  371. package/lib/query-form/Field/Composition/SelectInput.js.map +1 -0
  372. package/lib/query-form/Field/Composition/ValueTag.d.ts +13 -0
  373. package/lib/query-form/Field/Composition/ValueTag.d.ts.map +1 -0
  374. package/lib/query-form/Field/Composition/ValueTag.js +240 -0
  375. package/lib/query-form/Field/Composition/ValueTag.js.map +1 -0
  376. package/lib/query-form/Field/Composition/index.d.ts +15 -0
  377. package/lib/query-form/Field/Composition/index.d.ts.map +1 -0
  378. package/lib/query-form/Field/Composition/index.js +448 -0
  379. package/lib/query-form/Field/Composition/index.js.map +1 -0
  380. package/lib/query-form/Field/Composition/index.less +145 -0
  381. package/lib/query-form/Field/Composition/utils.d.ts +21 -0
  382. package/lib/query-form/Field/Composition/utils.d.ts.map +1 -0
  383. package/lib/query-form/Field/Composition/utils.js +173 -0
  384. package/lib/query-form/Field/Composition/utils.js.map +1 -0
  385. package/lib/query-form/Field/Select.js +24 -31
  386. package/lib/query-form/Field/SelectInput.js +24 -31
  387. package/lib/query-form/Field/fieldsMap.js +3 -3
  388. package/lib/query-form/Field/index.js +47 -73
  389. package/lib/query-form/createActions.js +3 -3
  390. package/lib/query-form/index.js +44 -70
  391. package/lib/query-form/useForm.js +3 -3
  392. package/lib/query-form-v2/index.less +133 -0
  393. package/lib/query-list-scene/List.js +41 -61
  394. package/lib/query-list-scene/QueryForm.js +44 -70
  395. package/lib/query-list-scene/QueryListScene.js +44 -70
  396. package/lib/query-list-scene/Title.js +3 -3
  397. package/lib/query-list-scene/Toolbar.js +10 -16
  398. package/lib/query-list-scene/createActions.js +3 -3
  399. package/lib/query-list-scene/index.js +3 -3
  400. package/lib/query-list-scene/useActions.js +3 -3
  401. package/lib/radio/index.js +3 -3
  402. package/lib/radio/radio-group.js +3 -3
  403. package/lib/radio/radio.d.ts +17 -0
  404. package/lib/radio/radio.d.ts.map +1 -0
  405. package/lib/radio/radio.js +110 -0
  406. package/lib/radio/radio.js.map +1 -0
  407. package/lib/render-empty/render-empty.js +3 -3
  408. package/lib/scroll-bar/Bar.d.ts +4 -0
  409. package/lib/scroll-bar/Bar.d.ts.map +1 -0
  410. package/lib/scroll-bar/Bar.js +169 -0
  411. package/lib/scroll-bar/Bar.js.map +1 -0
  412. package/lib/scroll-bar/Context.d.ts +7 -0
  413. package/lib/scroll-bar/Context.d.ts.map +1 -0
  414. package/lib/scroll-bar/Context.js +17 -0
  415. package/lib/scroll-bar/Context.js.map +1 -0
  416. package/lib/scroll-bar/ScrollBar.d.ts +4 -0
  417. package/lib/scroll-bar/ScrollBar.d.ts.map +1 -0
  418. package/lib/scroll-bar/ScrollBar.js +132 -0
  419. package/lib/scroll-bar/ScrollBar.js.map +1 -0
  420. package/lib/scroll-bar/Thumb.d.ts +3 -0
  421. package/lib/scroll-bar/Thumb.d.ts.map +1 -0
  422. package/lib/scroll-bar/Thumb.js +203 -0
  423. package/lib/scroll-bar/Thumb.js.map +1 -0
  424. package/lib/scroll-bar/index.d.ts +3 -0
  425. package/lib/scroll-bar/index.d.ts.map +1 -0
  426. package/lib/scroll-bar/index.js +14 -0
  427. package/lib/scroll-bar/index.js.map +1 -0
  428. package/lib/scroll-bar/scrollBar.less +59 -0
  429. package/lib/scroll-bar/util.d.ts +40 -0
  430. package/lib/scroll-bar/util.d.ts.map +1 -0
  431. package/lib/scroll-bar/util.js +72 -0
  432. package/lib/scroll-bar/util.js.map +1 -0
  433. package/lib/segmented/index.js +10 -16
  434. package/lib/select/select.js +10 -16
  435. package/lib/spin/spin.d.ts +9 -0
  436. package/lib/spin/spin.d.ts.map +1 -0
  437. package/lib/spin/spin.js +79 -0
  438. package/lib/spin/spin.js.map +1 -0
  439. package/lib/steps/steps.js +10 -16
  440. package/lib/svg-components/index.js +3 -3
  441. package/lib/switch/switch.js +3 -3
  442. package/lib/table/hooks/use-column-setting.js +14 -15
  443. package/lib/table/hooks/use-expand-fixed.js +30 -36
  444. package/lib/table/resizableTable/index.js +24 -31
  445. package/lib/table/table-hoc.js +3 -3
  446. package/lib/table/table.js +27 -34
  447. package/lib/table/table.stories.js +10 -16
  448. package/lib/table/total-shower.js +3 -3
  449. package/lib/table/utils.js +3 -3
  450. package/lib/table-container/index.js +3 -3
  451. package/lib/tabs-container/index.js +3 -3
  452. package/lib/tag/tag.js +10 -16
  453. package/lib/time-picker/TimePicker.d.ts +9 -0
  454. package/lib/time-picker/TimePicker.d.ts.map +1 -0
  455. package/lib/time-picker/TimePicker.js +90 -0
  456. package/lib/time-picker/TimePicker.js.map +1 -0
  457. package/lib/title/index.js +3 -3
  458. package/lib/tntd-action/Action.d.ts +6 -0
  459. package/lib/tntd-action/Action.d.ts.map +1 -0
  460. package/lib/tntd-action/Action.js +218 -0
  461. package/lib/tntd-action/Action.js.map +1 -0
  462. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -3
  463. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +3 -3
  464. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
  465. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +10 -16
  466. package/lib/tntd-cascader/AntdCascader/config/utils.js +10 -16
  467. package/lib/tntd-cascader/AntdCascader/index.js +26 -33
  468. package/lib/tntd-cascader/index.js +3 -3
  469. package/lib/tntd-cascader/rc-cascader/Cascader.js +23 -24
  470. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +10 -16
  471. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +26 -33
  472. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +30 -37
  473. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +17 -18
  474. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +23 -24
  475. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +16 -17
  476. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  477. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +23 -30
  478. package/lib/tntd-cascader/rc-cascader/index.js +3 -3
  479. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +6 -6
  480. package/lib/tntd-form/ErrorList.js +26 -33
  481. package/lib/tntd-form/Form.js +24 -31
  482. package/lib/tntd-form/FormItem/ItemHolder.js +24 -31
  483. package/lib/tntd-form/FormItem/index.js +23 -24
  484. package/lib/tntd-form/FormItemInput.js +3 -3
  485. package/lib/tntd-form/FormItemLabel.js +10 -16
  486. package/lib/tntd-form/FormList.js +3 -3
  487. package/lib/tntd-form/context.js +3 -3
  488. package/lib/tntd-form/hooks/useDebounce.js +14 -15
  489. package/lib/tntd-form/hooks/useForm.js +17 -18
  490. package/lib/tntd-form/hooks/useFormItemStatus.js +3 -3
  491. package/lib/tntd-form/hooks/useFrameState.js +17 -18
  492. package/lib/tntd-form/index.js +3 -3
  493. package/lib/tntd-icon/index.js +3 -3
  494. package/lib/tntd-layout/AppList.js +20 -24
  495. package/lib/tntd-layout/Application.js +20 -24
  496. package/lib/tntd-layout/Avatar.js +6 -9
  497. package/lib/tntd-layout/CompatibleLanguage.js +20 -24
  498. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +6 -9
  499. package/lib/tntd-layout/EnterpriseLayout/Language.js +20 -24
  500. package/lib/tntd-layout/EnterpriseLayout/Theme.js +20 -24
  501. package/lib/tntd-layout/EnterpriseLayout/index.js +3 -3
  502. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +20 -24
  503. package/lib/tntd-layout/GlobalNavigation/index.js +26 -30
  504. package/lib/tntd-layout/Header.js +6 -9
  505. package/lib/tntd-layout/HeaderActions.js +6 -9
  506. package/lib/tntd-layout/HeaderNavs.js +20 -24
  507. package/lib/tntd-layout/HeaderTabs.js +27 -37
  508. package/lib/tntd-layout/Iconfont.js +3 -3
  509. package/lib/tntd-layout/Language.js +20 -24
  510. package/lib/tntd-layout/Layout.js +20 -24
  511. package/lib/tntd-layout/Logo.js +6 -9
  512. package/lib/tntd-layout/OrgAppList.js +20 -24
  513. package/lib/tntd-layout/SideMenu.js +20 -24
  514. package/lib/tntd-layout/Theme.js +20 -24
  515. package/lib/tntd-layout/createActions.js +3 -3
  516. package/lib/tntd-layout/images/index.js +3 -3
  517. package/lib/tntd-layout/index.js +3 -3
  518. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +20 -24
  519. package/lib/tntd-layout/paaslayout/Header.js +6 -9
  520. package/lib/tntd-layout/paaslayout/Logo.js +6 -9
  521. package/lib/tntd-layout/paaslayout/SideMenu.js +20 -24
  522. package/lib/tntd-layout/paaslayout/index.js +20 -24
  523. package/lib/tntd-layout/storage.js +3 -3
  524. package/lib/tntd-modal/index.js +24 -31
  525. package/lib/tntd-rc-select/_util/PurePanel.js +17 -18
  526. package/lib/tntd-rc-select/_util/context.js +3 -3
  527. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +3 -3
  528. package/lib/tntd-rc-select/_util/getIcons.js +3 -3
  529. package/lib/tntd-rc-select/_util/useCompactItemContext.js +10 -16
  530. package/lib/tntd-rc-select/index.js +10 -16
  531. package/lib/tntd-rc-select/style/index.less +20 -2
  532. package/lib/tntd-reference/AHref/index.js +3 -3
  533. package/lib/tntd-reference/ReferenceBatchCheck/index.js +3 -3
  534. package/lib/tntd-reference/ReferenceBatchDrawer/index.js +17 -18
  535. package/lib/tntd-reference/ReferenceCheck/index.js +3 -3
  536. package/lib/tntd-reference/ReferenceDrawer/index.js +17 -18
  537. package/lib/tntd-reference/ReferenceInfo/index.js +3 -3
  538. package/lib/tntd-reference/index.js +3 -3
  539. package/lib/tntd-second-page/index.js +3 -3
  540. package/lib/tntd-select/DropDownWrap.js +34 -54
  541. package/lib/tntd-select/index.js +40 -57
  542. package/lib/tntd-virtual-tree/index.js +23 -24
  543. package/lib/tntd-virtual-tree/utils.js +62 -66
  544. package/lib/tntd-virtual-tree-select/index.js +22 -23
  545. package/lib/tntd-virtual-tree-select/utils.js +20 -21
  546. package/lib/tooltip/tooltip.d.ts +1 -0
  547. package/lib/tooltip/tooltip.d.ts.map +1 -1
  548. package/lib/tooltip/tooltip.js +23 -9
  549. package/lib/tooltip/tooltip.js.map +1 -1
  550. package/lib/upload/index.js +41 -45
  551. package/lib/upload/svg/UploadSVG.js +3 -3
  552. package/lib/utils/checkAuth.js +6 -6
  553. package/lib/utils/index.js +20 -21
  554. package/lib/utils/lang.js +3 -3
  555. package/lib/water-mark/index.js +17 -18
  556. package/package.json +1 -1
@@ -51,46 +51,32 @@ function _interopRequireWildcard(e, r) {
51
51
  }
52
52
  return n["default"] = e, t && t.set(e, n), n;
53
53
  }
54
- function _interopRequireDefault(obj) {
55
- return obj && obj.__esModule ? obj : {
56
- "default": obj
54
+ function _interopRequireDefault(e) {
55
+ return e && e.__esModule ? e : {
56
+ "default": e
57
57
  };
58
58
  }
59
- function _defineProperty(obj, key, value) {
60
- key = _toPropertyKey(key);
61
- if (key in obj) {
62
- Object.defineProperty(obj, key, {
63
- value: value,
64
- enumerable: true,
65
- configurable: true,
66
- writable: true
67
- });
68
- } else {
69
- obj[key] = value;
70
- }
71
- return obj;
59
+ function _defineProperty(e, r, t) {
60
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
61
+ value: t,
62
+ enumerable: !0,
63
+ configurable: !0,
64
+ writable: !0
65
+ }) : e[r] = t, e;
72
66
  }
73
- function _classCallCheck(instance, Constructor) {
74
- if (!(instance instanceof Constructor)) {
75
- throw new TypeError("Cannot call a class as a function");
76
- }
67
+ function _classCallCheck(a, n) {
68
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
77
69
  }
78
- function _defineProperties(target, props) {
79
- for (var i = 0; i < props.length; i++) {
80
- var descriptor = props[i];
81
- descriptor.enumerable = descriptor.enumerable || false;
82
- descriptor.configurable = true;
83
- if ("value" in descriptor) descriptor.writable = true;
84
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
70
+ function _defineProperties(e, r) {
71
+ for (var t = 0; t < r.length; t++) {
72
+ var o = r[t];
73
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
85
74
  }
86
75
  }
87
- function _createClass(Constructor, protoProps, staticProps) {
88
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
89
- if (staticProps) _defineProperties(Constructor, staticProps);
90
- Object.defineProperty(Constructor, "prototype", {
91
- writable: false
92
- });
93
- return Constructor;
76
+ function _createClass(e, r, t) {
77
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
78
+ writable: !1
79
+ }), e;
94
80
  }
95
81
  function _toPropertyKey(t) {
96
82
  var i = _toPrimitive(t, "string");
@@ -109,19 +95,14 @@ function _toPrimitive(t, r) {
109
95
  function _callSuper(t, o, e) {
110
96
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
111
97
  }
112
- function _possibleConstructorReturn(self, call) {
113
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
114
- return call;
115
- } else if (call !== void 0) {
116
- throw new TypeError("Derived constructors may only return object or undefined");
117
- }
118
- return _assertThisInitialized(self);
98
+ function _possibleConstructorReturn(t, e) {
99
+ if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
100
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
101
+ return _assertThisInitialized(t);
119
102
  }
120
- function _assertThisInitialized(self) {
121
- if (self === void 0) {
122
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
123
- }
124
- return self;
103
+ function _assertThisInitialized(e) {
104
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
105
+ return e;
125
106
  }
126
107
  function _isNativeReflectConstruct() {
127
108
  try {
@@ -131,34 +112,27 @@ function _isNativeReflectConstruct() {
131
112
  return !!t;
132
113
  })();
133
114
  }
134
- function _getPrototypeOf(o) {
135
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
136
- return o.__proto__ || Object.getPrototypeOf(o);
137
- };
138
- return _getPrototypeOf(o);
115
+ function _getPrototypeOf(t) {
116
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
117
+ return t.__proto__ || Object.getPrototypeOf(t);
118
+ }, _getPrototypeOf(t);
139
119
  }
140
- function _inherits(subClass, superClass) {
141
- if (typeof superClass !== "function" && superClass !== null) {
142
- throw new TypeError("Super expression must either be null or a function");
143
- }
144
- subClass.prototype = Object.create(superClass && superClass.prototype, {
120
+ function _inherits(t, e) {
121
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
122
+ t.prototype = Object.create(e && e.prototype, {
145
123
  constructor: {
146
- value: subClass,
147
- writable: true,
148
- configurable: true
124
+ value: t,
125
+ writable: !0,
126
+ configurable: !0
149
127
  }
150
- });
151
- Object.defineProperty(subClass, "prototype", {
152
- writable: false
153
- });
154
- if (superClass) _setPrototypeOf(subClass, superClass);
128
+ }), Object.defineProperty(t, "prototype", {
129
+ writable: !1
130
+ }), e && _setPrototypeOf(t, e);
155
131
  }
156
- function _setPrototypeOf(o, p) {
157
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
158
- o.__proto__ = p;
159
- return o;
160
- };
161
- return _setPrototypeOf(o, p);
132
+ function _setPrototypeOf(t, e) {
133
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
134
+ return t.__proto__ = e, t;
135
+ }, _setPrototypeOf(t, e);
162
136
  }
163
137
  var clsPrefix = 'tnt-queryform';
164
138
  var QueryForm = /*#__PURE__*/function (_React$PureComponent) {
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = useForm;
7
7
  var _react = require("react");
8
8
  var _createActions = _interopRequireDefault(require("./createActions"));
9
- function _interopRequireDefault(obj) {
10
- return obj && obj.__esModule ? obj : {
11
- "default": obj
9
+ function _interopRequireDefault(e) {
10
+ return e && e.__esModule ? e : {
11
+ "default": e
12
12
  };
13
13
  }
14
14
  function useForm() {
@@ -0,0 +1,133 @@
1
+ .tnt-queryform {
2
+ display: flex;
3
+
4
+ &-extra {
5
+ line-height: 32px;
6
+ margin-left: 12px;
7
+ & > * {
8
+ margin-left: 8px;
9
+ }
10
+ }
11
+
12
+ &-actions {
13
+ align-items: center;
14
+ display: inline-block;
15
+ height: 32px;
16
+ line-height: 32px;
17
+
18
+ & > *:not(.expand-link) {
19
+ margin-right: 10px;
20
+ }
21
+ & > .expand-link {
22
+ padding: 0;
23
+ margin-right: 0;
24
+ }
25
+ & > .ant-badge {
26
+ .tnt-icon {
27
+ margin-right: 8px;
28
+ }
29
+ }
30
+ }
31
+
32
+ .ant-form {
33
+ display: inline-block;
34
+ margin-bottom: 12px;
35
+ display: flex;
36
+ flex: 1;
37
+ &.ant-form-inline {
38
+ flex-wrap: unset;
39
+ }
40
+
41
+ & > div:nth-child(1) {
42
+ height: 32px;
43
+ overflow: hidden;
44
+ .ant-form-item-label {
45
+ label {
46
+ // bottom: 4px;
47
+ }
48
+ }
49
+ }
50
+
51
+ &.expanded {
52
+ & > div:nth-child(1) {
53
+ height: auto !important;
54
+ }
55
+ }
56
+
57
+ &.showMore {
58
+ & > div:nth-child(1) {
59
+ .ant-form-item {
60
+ margin-bottom: 12px;
61
+ }
62
+ }
63
+ }
64
+
65
+ & > div:nth-child(2) {
66
+ display: flex;
67
+ }
68
+
69
+ &.ant-form-inline .ant-form-item {
70
+ margin-right: 10px;
71
+ display: inline-block;
72
+ }
73
+
74
+ .ant-form-item-control {
75
+ // min-width: 160px;
76
+ line-height: unset;
77
+ .ant-calendar-picker-input {
78
+ padding: 0 11px;
79
+ }
80
+ .ant-form-item-children {
81
+ & > .ant-input,
82
+ & > .ant-input-affix-wrapper {
83
+ width: 160px;
84
+ // width: 200px;
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ &-drawer {
91
+ margin-top: 50px;
92
+ &.large-size {
93
+ margin-top: 60px;
94
+ }
95
+
96
+ &.ant-drawer.ant-drawer-open {
97
+ .ant-drawer-mask {
98
+ opacity: 0;
99
+ background: unset;
100
+ }
101
+ }
102
+ .ant-drawer-body {
103
+ .ant-form-item {
104
+ display: block;
105
+ margin-right: 0;
106
+ margin-bottom: 20px;
107
+ width: 100%;
108
+ }
109
+ .ant-form-item-label {
110
+ display: block;
111
+ text-align: left;
112
+ line-height: 22px;
113
+ margin-bottom: 10px;
114
+ }
115
+ .ant-form-item-control-wrapper,
116
+ .ant-form-item-control,
117
+ .ant-calendar-picker,
118
+ .ant-input {
119
+ min-width: 100%;
120
+ width: 100%;
121
+ }
122
+
123
+ & > .ant-btn {
124
+ display: block;
125
+ width: 100%;
126
+ margin-bottom: 10px;
127
+ &.ant-btn-primary {
128
+ margin-top: 20px;
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
@@ -49,32 +49,24 @@ function _interopRequireWildcard(e, r) {
49
49
  }
50
50
  return n["default"] = e, t && t.set(e, n), n;
51
51
  }
52
- function _interopRequireDefault(obj) {
53
- return obj && obj.__esModule ? obj : {
54
- "default": obj
52
+ function _interopRequireDefault(e) {
53
+ return e && e.__esModule ? e : {
54
+ "default": e
55
55
  };
56
56
  }
57
- function _classCallCheck(instance, Constructor) {
58
- if (!(instance instanceof Constructor)) {
59
- throw new TypeError("Cannot call a class as a function");
60
- }
57
+ function _classCallCheck(a, n) {
58
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
61
59
  }
62
- function _defineProperties(target, props) {
63
- for (var i = 0; i < props.length; i++) {
64
- var descriptor = props[i];
65
- descriptor.enumerable = descriptor.enumerable || false;
66
- descriptor.configurable = true;
67
- if ("value" in descriptor) descriptor.writable = true;
68
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
60
+ function _defineProperties(e, r) {
61
+ for (var t = 0; t < r.length; t++) {
62
+ var o = r[t];
63
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
69
64
  }
70
65
  }
71
- function _createClass(Constructor, protoProps, staticProps) {
72
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
73
- if (staticProps) _defineProperties(Constructor, staticProps);
74
- Object.defineProperty(Constructor, "prototype", {
75
- writable: false
76
- });
77
- return Constructor;
66
+ function _createClass(e, r, t) {
67
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
68
+ writable: !1
69
+ }), e;
78
70
  }
79
71
  function _toPropertyKey(t) {
80
72
  var i = _toPrimitive(t, "string");
@@ -93,19 +85,14 @@ function _toPrimitive(t, r) {
93
85
  function _callSuper(t, o, e) {
94
86
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
95
87
  }
96
- function _possibleConstructorReturn(self, call) {
97
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
98
- return call;
99
- } else if (call !== void 0) {
100
- throw new TypeError("Derived constructors may only return object or undefined");
101
- }
102
- return _assertThisInitialized(self);
88
+ function _possibleConstructorReturn(t, e) {
89
+ if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
90
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
91
+ return _assertThisInitialized(t);
103
92
  }
104
- function _assertThisInitialized(self) {
105
- if (self === void 0) {
106
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
107
- }
108
- return self;
93
+ function _assertThisInitialized(e) {
94
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95
+ return e;
109
96
  }
110
97
  function _isNativeReflectConstruct() {
111
98
  try {
@@ -115,34 +102,27 @@ function _isNativeReflectConstruct() {
115
102
  return !!t;
116
103
  })();
117
104
  }
118
- function _getPrototypeOf(o) {
119
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
120
- return o.__proto__ || Object.getPrototypeOf(o);
121
- };
122
- return _getPrototypeOf(o);
105
+ function _getPrototypeOf(t) {
106
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
107
+ return t.__proto__ || Object.getPrototypeOf(t);
108
+ }, _getPrototypeOf(t);
123
109
  }
124
- function _inherits(subClass, superClass) {
125
- if (typeof superClass !== "function" && superClass !== null) {
126
- throw new TypeError("Super expression must either be null or a function");
127
- }
128
- subClass.prototype = Object.create(superClass && superClass.prototype, {
110
+ function _inherits(t, e) {
111
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
112
+ t.prototype = Object.create(e && e.prototype, {
129
113
  constructor: {
130
- value: subClass,
131
- writable: true,
132
- configurable: true
114
+ value: t,
115
+ writable: !0,
116
+ configurable: !0
133
117
  }
134
- });
135
- Object.defineProperty(subClass, "prototype", {
136
- writable: false
137
- });
138
- if (superClass) _setPrototypeOf(subClass, superClass);
118
+ }), Object.defineProperty(t, "prototype", {
119
+ writable: !1
120
+ }), e && _setPrototypeOf(t, e);
139
121
  }
140
- function _setPrototypeOf(o, p) {
141
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
142
- o.__proto__ = p;
143
- return o;
144
- };
145
- return _setPrototypeOf(o, p);
122
+ function _setPrototypeOf(t, e) {
123
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
124
+ return t.__proto__ = e, t;
125
+ }, _setPrototypeOf(t, e);
146
126
  }
147
127
  var __rest = void 0 && (void 0).__rest || function (s, e) {
148
128
  var t = {};
@@ -439,7 +419,7 @@ var QueryList = exports["default"] = /*#__PURE__*/function (_React$PureComponent
439
419
  this.fetchData(this.formData)["finally"](function () {
440
420
  // 轮询
441
421
  if (qlsProps.interval && !_this2.isUnmounted) {
442
- var doIntervalQuery = function doIntervalQuery(ms) {
422
+ var _doIntervalQuery = function doIntervalQuery(ms) {
443
423
  // 组件unmounted后,不执行轮训逻辑
444
424
  if (!_this2.isUnmounted) {
445
425
  _this2.timmer = setTimeout(function () {
@@ -449,15 +429,15 @@ var QueryList = exports["default"] = /*#__PURE__*/function (_React$PureComponent
449
429
  isInterval: true,
450
430
  showLoading: false
451
431
  }).then(function () {
452
- doIntervalQuery(ms);
432
+ _doIntervalQuery(ms);
453
433
  });
454
434
  } else {
455
- doIntervalQuery(ms);
435
+ _doIntervalQuery(ms);
456
436
  }
457
437
  }, ms);
458
438
  }
459
439
  };
460
- doIntervalQuery(qlsProps.interval);
440
+ _doIntervalQuery(qlsProps.interval);
461
441
  }
462
442
  });
463
443
  }
@@ -16,46 +16,32 @@ exports["default"] = void 0;
16
16
  var _react = _interopRequireDefault(require("react"));
17
17
  var _classnames2 = _interopRequireDefault(require("classnames"));
18
18
  var _queryForm = _interopRequireDefault(require("../query-form"));
19
- function _interopRequireDefault(obj) {
20
- return obj && obj.__esModule ? obj : {
21
- "default": obj
19
+ function _interopRequireDefault(e) {
20
+ return e && e.__esModule ? e : {
21
+ "default": e
22
22
  };
23
23
  }
24
- function _defineProperty(obj, key, value) {
25
- key = _toPropertyKey(key);
26
- if (key in obj) {
27
- Object.defineProperty(obj, key, {
28
- value: value,
29
- enumerable: true,
30
- configurable: true,
31
- writable: true
32
- });
33
- } else {
34
- obj[key] = value;
35
- }
36
- return obj;
24
+ function _defineProperty(e, r, t) {
25
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
26
+ value: t,
27
+ enumerable: !0,
28
+ configurable: !0,
29
+ writable: !0
30
+ }) : e[r] = t, e;
37
31
  }
38
- function _classCallCheck(instance, Constructor) {
39
- if (!(instance instanceof Constructor)) {
40
- throw new TypeError("Cannot call a class as a function");
41
- }
32
+ function _classCallCheck(a, n) {
33
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
42
34
  }
43
- function _defineProperties(target, props) {
44
- for (var i = 0; i < props.length; i++) {
45
- var descriptor = props[i];
46
- descriptor.enumerable = descriptor.enumerable || false;
47
- descriptor.configurable = true;
48
- if ("value" in descriptor) descriptor.writable = true;
49
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
35
+ function _defineProperties(e, r) {
36
+ for (var t = 0; t < r.length; t++) {
37
+ var o = r[t];
38
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
50
39
  }
51
40
  }
52
- function _createClass(Constructor, protoProps, staticProps) {
53
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
54
- if (staticProps) _defineProperties(Constructor, staticProps);
55
- Object.defineProperty(Constructor, "prototype", {
56
- writable: false
57
- });
58
- return Constructor;
41
+ function _createClass(e, r, t) {
42
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
43
+ writable: !1
44
+ }), e;
59
45
  }
60
46
  function _toPropertyKey(t) {
61
47
  var i = _toPrimitive(t, "string");
@@ -74,19 +60,14 @@ function _toPrimitive(t, r) {
74
60
  function _callSuper(t, o, e) {
75
61
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
76
62
  }
77
- function _possibleConstructorReturn(self, call) {
78
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
79
- return call;
80
- } else if (call !== void 0) {
81
- throw new TypeError("Derived constructors may only return object or undefined");
82
- }
83
- return _assertThisInitialized(self);
63
+ function _possibleConstructorReturn(t, e) {
64
+ if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
65
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
66
+ return _assertThisInitialized(t);
84
67
  }
85
- function _assertThisInitialized(self) {
86
- if (self === void 0) {
87
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
88
- }
89
- return self;
68
+ function _assertThisInitialized(e) {
69
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
70
+ return e;
90
71
  }
91
72
  function _isNativeReflectConstruct() {
92
73
  try {
@@ -96,34 +77,27 @@ function _isNativeReflectConstruct() {
96
77
  return !!t;
97
78
  })();
98
79
  }
99
- function _getPrototypeOf(o) {
100
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
101
- return o.__proto__ || Object.getPrototypeOf(o);
102
- };
103
- return _getPrototypeOf(o);
80
+ function _getPrototypeOf(t) {
81
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
82
+ return t.__proto__ || Object.getPrototypeOf(t);
83
+ }, _getPrototypeOf(t);
104
84
  }
105
- function _inherits(subClass, superClass) {
106
- if (typeof superClass !== "function" && superClass !== null) {
107
- throw new TypeError("Super expression must either be null or a function");
108
- }
109
- subClass.prototype = Object.create(superClass && superClass.prototype, {
85
+ function _inherits(t, e) {
86
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
87
+ t.prototype = Object.create(e && e.prototype, {
110
88
  constructor: {
111
- value: subClass,
112
- writable: true,
113
- configurable: true
89
+ value: t,
90
+ writable: !0,
91
+ configurable: !0
114
92
  }
115
- });
116
- Object.defineProperty(subClass, "prototype", {
117
- writable: false
118
- });
119
- if (superClass) _setPrototypeOf(subClass, superClass);
93
+ }), Object.defineProperty(t, "prototype", {
94
+ writable: !1
95
+ }), e && _setPrototypeOf(t, e);
120
96
  }
121
- function _setPrototypeOf(o, p) {
122
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
123
- o.__proto__ = p;
124
- return o;
125
- };
126
- return _setPrototypeOf(o, p);
97
+ function _setPrototypeOf(t, e) {
98
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
99
+ return t.__proto__ = e, t;
100
+ }, _setPrototypeOf(t, e);
127
101
  }
128
102
  var __rest = void 0 && (void 0).__rest || function (s, e) {
129
103
  var t = {};