tntd 2.8.39 → 2.8.41

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