tntd 2.8.46 → 2.8.48

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 (420) 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/alert/alert.js +10 -16
  10. package/es/anchor/anchor.js +5 -5
  11. package/es/array-input/index.js +9 -9
  12. package/es/cascader/cascader.js +3 -3
  13. package/es/check-card/group.js +8 -8
  14. package/es/check-card/index.js +6 -6
  15. package/es/checkbox/checkbox-group.js +1 -1
  16. package/es/checkbox/checkbox.js +3 -3
  17. package/es/color-picker/ColorPicker.js +6 -6
  18. package/es/color-picker/index.js +1 -1
  19. package/es/columns/index.js +1 -1
  20. package/es/config-provider/config-provider.js +1 -1
  21. package/es/date-picker/DatePicker.js +3 -3
  22. package/es/descriptions/descriptions.js +5 -5
  23. package/es/development-login/LoginModal.js +6 -6
  24. package/es/development-login/index.js +4 -4
  25. package/es/drawer/drawer.js +2 -2
  26. package/es/ellipsis/Svg/CopySVG.js +1 -1
  27. package/es/ellipsis/Svg/TickSVG.js +1 -1
  28. package/es/ellipsis/index.js +5 -5
  29. package/es/empty/empty.js +2 -2
  30. package/es/empty/empty.stories.js +2 -2
  31. package/es/exception/exception.js +1 -1
  32. package/es/form/form.js +2 -2
  33. package/es/grid-v4/col.js +2 -2
  34. package/es/grid-v4/hooks/useBreakpoint.js +1 -1
  35. package/es/grid-v4/index.js +1 -1
  36. package/es/grid-v4/row.js +6 -6
  37. package/es/handle/index.js +1 -1
  38. package/es/handle-icon/index.js +8 -8
  39. package/es/icon/IconFont.js +1 -1
  40. package/es/icon/components/Icon.js +9 -9
  41. package/es/icon/components/index.js +1 -1
  42. package/es/icon/components/utils.js +3 -3
  43. package/es/icon/index.js +7 -7
  44. package/es/icon/twoTonePrimaryColor.js +1 -1
  45. package/es/icon/utils.js +1 -1
  46. package/es/img/Contain.js +1 -1
  47. package/es/img/Cover.js +5 -5
  48. package/es/img/index.js +5 -5
  49. package/es/index.js +1 -1
  50. package/es/input/input.js +2 -2
  51. package/es/input-number/index.js +1 -1
  52. package/es/input-number/inputNumber.js +3 -3
  53. package/es/label/index.js +2 -2
  54. package/es/loading-button/index.js +5 -5
  55. package/es/locale/default.js +1 -1
  56. package/es/locale/en_US.js +1 -1
  57. package/es/locale/zh_CN.js +1 -1
  58. package/es/modal/index.less +16 -0
  59. package/es/modal/modal.js +3 -3
  60. package/es/modal/modal.js.map +1 -1
  61. package/es/modal/modal.less +0 -16
  62. package/es/modal/style/modal.less +16 -0
  63. package/es/notification/assets/index.js +1 -1
  64. package/es/notification/index.js +1 -1
  65. package/es/notification/notification.js +1 -1
  66. package/es/page/Box.js +1 -1
  67. package/es/page/index.js +7 -7
  68. package/es/page-container/index.js +1 -1
  69. package/es/page-loading/index.js +1 -1
  70. package/es/popconfirm/popconfirm.js +3 -3
  71. package/es/popover/popover.js +3 -3
  72. package/es/preview-text/index.js +7 -7
  73. package/es/progress/progress.js +10 -16
  74. package/es/query-form/Field/Checkbox.js +1 -1
  75. package/es/query-form/Field/Select.js +6 -6
  76. package/es/query-form/Field/SelectInput.js +6 -6
  77. package/es/query-form/Field/fieldsMap.js +1 -1
  78. package/es/query-form/Field/index.js +10 -10
  79. package/es/query-form/createActions.js +1 -1
  80. package/es/query-form/index.js +10 -10
  81. package/es/query-form/useForm.js +1 -1
  82. package/es/query-list-scene/List.js +13 -13
  83. package/es/query-list-scene/QueryForm.js +10 -10
  84. package/es/query-list-scene/QueryListScene.js +10 -10
  85. package/es/query-list-scene/Title.js +1 -1
  86. package/es/query-list-scene/Toolbar.js +2 -2
  87. package/es/query-list-scene/createActions.js +1 -1
  88. package/es/query-list-scene/index.js +1 -1
  89. package/es/query-list-scene/useActions.js +1 -1
  90. package/es/radio/index.js +1 -1
  91. package/es/radio/radio-group.js +1 -1
  92. package/es/radio/radio.js +3 -3
  93. package/es/render-empty/render-empty.js +1 -1
  94. package/es/scroll-bar/Bar.js +5 -5
  95. package/es/scroll-bar/Context.js +1 -1
  96. package/es/scroll-bar/ScrollBar.js +1 -1
  97. package/es/scroll-bar/Thumb.js +5 -5
  98. package/es/scroll-bar/index.js +1 -1
  99. package/es/scroll-bar/util.js +1 -1
  100. package/es/segmented/index.js +2 -2
  101. package/es/select/select.js +2 -2
  102. package/es/spin/spin.js +3 -3
  103. package/es/steps/steps.js +2 -2
  104. package/es/svg-components/index.js +1 -1
  105. package/es/switch/switch.js +1 -1
  106. package/es/table/hooks/use-column-setting.js +4 -4
  107. package/es/table/hooks/use-expand-fixed.js +6 -6
  108. package/es/table/resizableTable/index.js +6 -6
  109. package/es/table/table-hoc.js +1 -1
  110. package/es/table/table.js +9 -9
  111. package/es/table/table.stories.js +2 -2
  112. package/es/table/total-shower.js +1 -1
  113. package/es/table/utils.js +1 -1
  114. package/es/table-container/index.js +1 -1
  115. package/es/tabs-container/index.js +1 -1
  116. package/es/tag/tag.js +2 -2
  117. package/es/time-picker/TimePicker.js +3 -3
  118. package/es/title/index.js +1 -1
  119. package/es/tntd-action/Action.js +21 -22
  120. package/es/tntd-cascader/AntdCascader/component/context.js +1 -1
  121. package/es/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +1 -1
  122. package/es/tntd-cascader/AntdCascader/component/getIcons.js +1 -1
  123. package/es/tntd-cascader/AntdCascader/component/useCompactItemContext.js +2 -2
  124. package/es/tntd-cascader/AntdCascader/config/utils.js +2 -2
  125. package/es/tntd-cascader/AntdCascader/index.js +7 -7
  126. package/es/tntd-cascader/index.js +1 -1
  127. package/es/tntd-cascader/rc-cascader/Cascader.js +8 -8
  128. package/es/tntd-cascader/rc-cascader/OptionList/Checkbox.js +2 -2
  129. package/es/tntd-cascader/rc-cascader/OptionList/Column.js +7 -7
  130. package/es/tntd-cascader/rc-cascader/OptionList/index.js +9 -9
  131. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +5 -5
  132. package/es/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +8 -8
  133. package/es/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +5 -5
  134. package/es/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +1 -1
  135. package/es/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +6 -6
  136. package/es/tntd-cascader/rc-cascader/index.js +1 -1
  137. package/es/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +4 -4
  138. package/es/tntd-form/ErrorList.js +7 -7
  139. package/es/tntd-form/Form.js +6 -6
  140. package/es/tntd-form/FormItem/ItemHolder.js +6 -6
  141. package/es/tntd-form/FormItem/index.js +8 -8
  142. package/es/tntd-form/FormItemInput.js +1 -1
  143. package/es/tntd-form/FormItemLabel.js +2 -2
  144. package/es/tntd-form/FormList.js +1 -1
  145. package/es/tntd-form/context.js +1 -1
  146. package/es/tntd-form/hooks/useDebounce.js +4 -4
  147. package/es/tntd-form/hooks/useForm.js +5 -5
  148. package/es/tntd-form/hooks/useFormItemStatus.js +1 -1
  149. package/es/tntd-form/hooks/useFrameState.js +5 -5
  150. package/es/tntd-form/index.js +1 -1
  151. package/es/tntd-icon/index.js +1 -1
  152. package/es/tntd-layout/AppList.js +6 -6
  153. package/es/tntd-layout/Application.js +6 -6
  154. package/es/tntd-layout/Avatar.js +2 -2
  155. package/es/tntd-layout/CompatibleLanguage.js +6 -6
  156. package/es/tntd-layout/EnterpriseLayout/Avatar.js +2 -2
  157. package/es/tntd-layout/EnterpriseLayout/Language.js +6 -6
  158. package/es/tntd-layout/EnterpriseLayout/Theme.js +6 -6
  159. package/es/tntd-layout/EnterpriseLayout/index.js +1 -1
  160. package/es/tntd-layout/GlobalNavigation/NavigationPopup.js +6 -6
  161. package/es/tntd-layout/GlobalNavigation/index.js +9 -9
  162. package/es/tntd-layout/Header.js +2 -2
  163. package/es/tntd-layout/HeaderActions.js +2 -2
  164. package/es/tntd-layout/HeaderNavs.js +6 -6
  165. package/es/tntd-layout/HeaderTabs.js +7 -7
  166. package/es/tntd-layout/Iconfont.js +1 -1
  167. package/es/tntd-layout/Language.js +6 -6
  168. package/es/tntd-layout/Layout.js +6 -6
  169. package/es/tntd-layout/Logo.js +2 -2
  170. package/es/tntd-layout/OrgAppList.js +6 -6
  171. package/es/tntd-layout/SideMenu.js +6 -6
  172. package/es/tntd-layout/Theme.js +6 -6
  173. package/es/tntd-layout/createActions.js +1 -1
  174. package/es/tntd-layout/images/index.js +1 -1
  175. package/es/tntd-layout/index.js +1 -1
  176. package/es/tntd-layout/paaslayout/CompactSideMenu.js +6 -6
  177. package/es/tntd-layout/paaslayout/Header.js +2 -2
  178. package/es/tntd-layout/paaslayout/Logo.js +2 -2
  179. package/es/tntd-layout/paaslayout/SideMenu.js +6 -6
  180. package/es/tntd-layout/paaslayout/index.js +6 -6
  181. package/es/tntd-layout/storage.js +1 -1
  182. package/es/tntd-modal/index.js +6 -6
  183. package/es/tntd-rc-select/_util/PurePanel.js +5 -5
  184. package/es/tntd-rc-select/_util/context.js +1 -1
  185. package/es/tntd-rc-select/_util/defaultRenderEmpty.js +1 -1
  186. package/es/tntd-rc-select/_util/getIcons.js +1 -1
  187. package/es/tntd-rc-select/_util/useCompactItemContext.js +2 -2
  188. package/es/tntd-rc-select/index.js +2 -2
  189. package/es/tntd-reference/AHref/index.js +1 -1
  190. package/es/tntd-reference/ReferenceBatchCheck/index.js +1 -1
  191. package/es/tntd-reference/ReferenceBatchDrawer/index.js +5 -5
  192. package/es/tntd-reference/ReferenceCheck/index.js +1 -1
  193. package/es/tntd-reference/ReferenceDrawer/index.js +5 -5
  194. package/es/tntd-reference/ReferenceInfo/index.js +1 -1
  195. package/es/tntd-reference/index.js +1 -1
  196. package/es/tntd-second-page/index.js +1 -1
  197. package/es/tntd-select/DropDownWrap.js +8 -8
  198. package/es/tntd-select/index.js +10 -9
  199. package/es/tntd-virtual-tree/index.js +8 -8
  200. package/es/tntd-virtual-tree/utils.js +28 -28
  201. package/es/tntd-virtual-tree-select/index.js +10 -10
  202. package/es/tntd-virtual-tree-select/utils.js +9 -9
  203. package/es/tooltip/tooltip.js +1 -1
  204. package/es/upload/index.js +6 -6
  205. package/es/upload/svg/UploadSVG.js +1 -1
  206. package/es/utils/checkAuth.js +4 -4
  207. package/es/utils/index.js +9 -9
  208. package/es/utils/lang.js +1 -1
  209. package/es/water-mark/index.js +5 -5
  210. package/lib/_util/context.js +3 -3
  211. package/lib/_util/defaultRenderEmpty.js +3 -3
  212. package/lib/_util/hooks/useFlexGapSupport.js +14 -15
  213. package/lib/_util/hooks/useForceUpdate.js +14 -15
  214. package/lib/_util/hooks/useScrollLock.js +14 -15
  215. package/lib/_util/responsiveObserve.js +7 -13
  216. package/lib/_util/styleChecker.js +3 -3
  217. package/lib/actions/index.js +3 -3
  218. package/lib/alert/alert.js +10 -16
  219. package/lib/anchor/anchor.js +17 -18
  220. package/lib/array-input/index.js +30 -37
  221. package/lib/cascader/cascader.js +3 -3
  222. package/lib/check-card/group.js +23 -24
  223. package/lib/check-card/index.js +24 -31
  224. package/lib/checkbox/checkbox-group.js +3 -3
  225. package/lib/checkbox/checkbox.js +3 -3
  226. package/lib/color-picker/ColorPicker.js +24 -31
  227. package/lib/color-picker/index.js +3 -3
  228. package/lib/columns/index.js +3 -3
  229. package/lib/config-provider/config-provider.js +3 -3
  230. package/lib/date-picker/DatePicker.js +3 -3
  231. package/lib/descriptions/descriptions.js +13 -19
  232. package/lib/development-login/LoginModal.js +24 -31
  233. package/lib/development-login/index.js +14 -15
  234. package/lib/drawer/drawer.js +10 -16
  235. package/lib/ellipsis/Svg/CopySVG.js +3 -3
  236. package/lib/ellipsis/Svg/TickSVG.js +3 -3
  237. package/lib/ellipsis/index.js +17 -18
  238. package/lib/empty/empty.js +10 -16
  239. package/lib/empty/empty.stories.js +6 -9
  240. package/lib/exception/exception.js +3 -3
  241. package/lib/form/form.js +10 -16
  242. package/lib/grid-v4/col.js +10 -16
  243. package/lib/grid-v4/hooks/useBreakpoint.js +3 -3
  244. package/lib/grid-v4/index.js +3 -3
  245. package/lib/grid-v4/row.js +24 -31
  246. package/lib/handle/index.js +3 -3
  247. package/lib/handle-icon/index.js +10 -10
  248. package/lib/icon/IconFont.js +3 -3
  249. package/lib/icon/components/Icon.js +44 -70
  250. package/lib/icon/components/index.js +3 -3
  251. package/lib/icon/components/utils.js +10 -18
  252. package/lib/icon/index.js +26 -33
  253. package/lib/icon/twoTonePrimaryColor.js +3 -3
  254. package/lib/icon/utils.js +3 -3
  255. package/lib/img/Contain.js +3 -3
  256. package/lib/img/Cover.js +17 -18
  257. package/lib/img/index.js +17 -18
  258. package/lib/index.js +3 -3
  259. package/lib/input/input.js +10 -16
  260. package/lib/input-number/index.js +3 -3
  261. package/lib/input-number/inputNumber.js +3 -3
  262. package/lib/label/index.js +10 -16
  263. package/lib/loading-button/index.js +17 -18
  264. package/lib/locale/default.js +3 -3
  265. package/lib/locale/en_US.js +3 -3
  266. package/lib/locale/zh_CN.js +3 -3
  267. package/lib/modal/index.less +16 -0
  268. package/lib/modal/modal.d.ts.map +1 -1
  269. package/lib/modal/modal.js +5 -5
  270. package/lib/modal/modal.js.map +1 -1
  271. package/lib/modal/modal.less +0 -16
  272. package/lib/modal/style/modal.less +16 -0
  273. package/lib/notification/assets/index.js +3 -3
  274. package/lib/notification/index.js +3 -3
  275. package/lib/notification/notification.js +3 -3
  276. package/lib/page/Box.js +3 -3
  277. package/lib/page/index.js +26 -33
  278. package/lib/page-container/index.js +3 -3
  279. package/lib/page-loading/index.js +3 -3
  280. package/lib/popconfirm/popconfirm.js +3 -3
  281. package/lib/popover/popover.js +3 -3
  282. package/lib/preview-text/index.js +9 -9
  283. package/lib/progress/progress.js +10 -16
  284. package/lib/query-form/Field/Checkbox.js +3 -3
  285. package/lib/query-form/Field/Select.js +24 -31
  286. package/lib/query-form/Field/SelectInput.js +24 -31
  287. package/lib/query-form/Field/fieldsMap.js +3 -3
  288. package/lib/query-form/Field/index.js +47 -73
  289. package/lib/query-form/createActions.js +3 -3
  290. package/lib/query-form/index.js +44 -70
  291. package/lib/query-form/useForm.js +3 -3
  292. package/lib/query-list-scene/List.js +41 -61
  293. package/lib/query-list-scene/QueryForm.js +44 -70
  294. package/lib/query-list-scene/QueryListScene.js +44 -70
  295. package/lib/query-list-scene/Title.js +3 -3
  296. package/lib/query-list-scene/Toolbar.js +10 -16
  297. package/lib/query-list-scene/createActions.js +3 -3
  298. package/lib/query-list-scene/index.js +3 -3
  299. package/lib/query-list-scene/useActions.js +3 -3
  300. package/lib/radio/index.js +3 -3
  301. package/lib/radio/radio-group.js +3 -3
  302. package/lib/radio/radio.js +3 -3
  303. package/lib/render-empty/render-empty.js +3 -3
  304. package/lib/scroll-bar/Bar.js +17 -18
  305. package/lib/scroll-bar/Context.js +3 -3
  306. package/lib/scroll-bar/ScrollBar.js +3 -3
  307. package/lib/scroll-bar/Thumb.js +17 -18
  308. package/lib/scroll-bar/index.js +3 -3
  309. package/lib/scroll-bar/util.js +7 -13
  310. package/lib/segmented/index.js +10 -16
  311. package/lib/select/select.js +10 -16
  312. package/lib/spin/spin.js +3 -3
  313. package/lib/steps/steps.js +10 -16
  314. package/lib/svg-components/index.js +3 -3
  315. package/lib/switch/switch.js +3 -3
  316. package/lib/table/hooks/use-column-setting.js +14 -15
  317. package/lib/table/hooks/use-expand-fixed.js +30 -36
  318. package/lib/table/resizableTable/index.js +24 -31
  319. package/lib/table/table-hoc.js +3 -3
  320. package/lib/table/table.js +27 -34
  321. package/lib/table/table.stories.js +10 -16
  322. package/lib/table/total-shower.js +3 -3
  323. package/lib/table/utils.js +3 -3
  324. package/lib/table-container/index.js +3 -3
  325. package/lib/tabs-container/index.js +3 -3
  326. package/lib/tag/tag.js +10 -16
  327. package/lib/time-picker/TimePicker.js +3 -3
  328. package/lib/title/index.js +3 -3
  329. package/lib/tntd-action/Action.js +21 -22
  330. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -3
  331. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +3 -3
  332. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
  333. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +10 -16
  334. package/lib/tntd-cascader/AntdCascader/config/utils.js +10 -16
  335. package/lib/tntd-cascader/AntdCascader/index.js +26 -33
  336. package/lib/tntd-cascader/index.js +3 -3
  337. package/lib/tntd-cascader/rc-cascader/Cascader.js +23 -24
  338. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +10 -16
  339. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +26 -33
  340. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +30 -37
  341. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +17 -18
  342. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +23 -24
  343. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +16 -17
  344. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  345. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +23 -30
  346. package/lib/tntd-cascader/rc-cascader/index.js +3 -3
  347. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +6 -6
  348. package/lib/tntd-form/ErrorList.js +26 -33
  349. package/lib/tntd-form/Form.js +24 -31
  350. package/lib/tntd-form/FormItem/ItemHolder.js +24 -31
  351. package/lib/tntd-form/FormItem/index.js +23 -24
  352. package/lib/tntd-form/FormItemInput.js +3 -3
  353. package/lib/tntd-form/FormItemLabel.js +10 -16
  354. package/lib/tntd-form/FormList.js +3 -3
  355. package/lib/tntd-form/context.js +3 -3
  356. package/lib/tntd-form/hooks/useDebounce.js +14 -15
  357. package/lib/tntd-form/hooks/useForm.js +17 -18
  358. package/lib/tntd-form/hooks/useFormItemStatus.js +3 -3
  359. package/lib/tntd-form/hooks/useFrameState.js +17 -18
  360. package/lib/tntd-form/index.js +3 -3
  361. package/lib/tntd-icon/index.js +3 -3
  362. package/lib/tntd-layout/AppList.js +20 -24
  363. package/lib/tntd-layout/Application.js +20 -24
  364. package/lib/tntd-layout/Avatar.js +6 -9
  365. package/lib/tntd-layout/CompatibleLanguage.js +20 -24
  366. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +6 -9
  367. package/lib/tntd-layout/EnterpriseLayout/Language.js +20 -24
  368. package/lib/tntd-layout/EnterpriseLayout/Theme.js +20 -24
  369. package/lib/tntd-layout/EnterpriseLayout/index.js +3 -3
  370. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +20 -24
  371. package/lib/tntd-layout/GlobalNavigation/index.js +26 -30
  372. package/lib/tntd-layout/Header.js +6 -9
  373. package/lib/tntd-layout/HeaderActions.js +6 -9
  374. package/lib/tntd-layout/HeaderNavs.js +20 -24
  375. package/lib/tntd-layout/HeaderTabs.js +27 -37
  376. package/lib/tntd-layout/Iconfont.js +3 -3
  377. package/lib/tntd-layout/Language.js +20 -24
  378. package/lib/tntd-layout/Layout.js +20 -24
  379. package/lib/tntd-layout/Logo.js +6 -9
  380. package/lib/tntd-layout/OrgAppList.js +20 -24
  381. package/lib/tntd-layout/SideMenu.js +20 -24
  382. package/lib/tntd-layout/Theme.js +20 -24
  383. package/lib/tntd-layout/createActions.js +3 -3
  384. package/lib/tntd-layout/images/index.js +3 -3
  385. package/lib/tntd-layout/index.js +3 -3
  386. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +20 -24
  387. package/lib/tntd-layout/paaslayout/Header.js +6 -9
  388. package/lib/tntd-layout/paaslayout/Logo.js +6 -9
  389. package/lib/tntd-layout/paaslayout/SideMenu.js +20 -24
  390. package/lib/tntd-layout/paaslayout/index.js +20 -24
  391. package/lib/tntd-layout/storage.js +3 -3
  392. package/lib/tntd-modal/index.js +24 -31
  393. package/lib/tntd-rc-select/_util/PurePanel.js +17 -18
  394. package/lib/tntd-rc-select/_util/context.js +3 -3
  395. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +3 -3
  396. package/lib/tntd-rc-select/_util/getIcons.js +3 -3
  397. package/lib/tntd-rc-select/_util/useCompactItemContext.js +10 -16
  398. package/lib/tntd-rc-select/index.js +10 -16
  399. package/lib/tntd-reference/AHref/index.js +3 -3
  400. package/lib/tntd-reference/ReferenceBatchCheck/index.js +3 -3
  401. package/lib/tntd-reference/ReferenceBatchDrawer/index.js +17 -18
  402. package/lib/tntd-reference/ReferenceCheck/index.js +3 -3
  403. package/lib/tntd-reference/ReferenceDrawer/index.js +17 -18
  404. package/lib/tntd-reference/ReferenceInfo/index.js +3 -3
  405. package/lib/tntd-reference/index.js +3 -3
  406. package/lib/tntd-second-page/index.js +3 -3
  407. package/lib/tntd-select/DropDownWrap.js +34 -54
  408. package/lib/tntd-select/index.js +40 -57
  409. package/lib/tntd-virtual-tree/index.js +23 -24
  410. package/lib/tntd-virtual-tree/utils.js +62 -66
  411. package/lib/tntd-virtual-tree-select/index.js +22 -23
  412. package/lib/tntd-virtual-tree-select/utils.js +20 -21
  413. package/lib/tooltip/tooltip.js +3 -3
  414. package/lib/upload/index.js +41 -45
  415. package/lib/upload/svg/UploadSVG.js +3 -3
  416. package/lib/utils/checkAuth.js +6 -6
  417. package/lib/utils/index.js +20 -21
  418. package/lib/utils/lang.js +3 -3
  419. package/lib/water-mark/index.js +17 -18
  420. package/package.json +1 -1
@@ -39,24 +39,23 @@ function _interopRequireWildcard(e, r) {
39
39
  }
40
40
  return n["default"] = e, t && t.set(e, n), n;
41
41
  }
42
- function _slicedToArray(arr, i) {
43
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
42
+ function _slicedToArray(r, e) {
43
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
44
44
  }
45
45
  function _nonIterableRest() {
46
46
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
47
47
  }
48
- function _unsupportedIterableToArray(o, minLen) {
49
- if (!o) return;
50
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
51
- var n = Object.prototype.toString.call(o).slice(8, -1);
52
- if (n === "Object" && o.constructor) n = o.constructor.name;
53
- if (n === "Map" || n === "Set") return Array.from(o);
54
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
48
+ function _unsupportedIterableToArray(r, a) {
49
+ if (r) {
50
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
51
+ var t = {}.toString.call(r).slice(8, -1);
52
+ 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;
53
+ }
55
54
  }
56
- function _arrayLikeToArray(arr, len) {
57
- if (len == null || len > arr.length) len = arr.length;
58
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
59
- return arr2;
55
+ function _arrayLikeToArray(r, a) {
56
+ (null == a || a > r.length) && (a = r.length);
57
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
58
+ return n;
60
59
  }
61
60
  function _iterableToArrayLimit(r, l) {
62
61
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -85,8 +84,8 @@ function _iterableToArrayLimit(r, l) {
85
84
  return a;
86
85
  }
87
86
  }
88
- function _arrayWithHoles(arr) {
89
- if (Array.isArray(arr)) return arr;
87
+ function _arrayWithHoles(r) {
88
+ if (Array.isArray(r)) return r;
90
89
  }
91
90
  function useForceUpdate() {
92
91
  var _React$useReducer = React.useReducer(function (x) {
@@ -5,24 +5,23 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _react = require("react");
8
- function _slicedToArray(arr, i) {
9
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
8
+ function _slicedToArray(r, e) {
9
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
10
10
  }
11
11
  function _nonIterableRest() {
12
12
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13
13
  }
14
- function _unsupportedIterableToArray(o, minLen) {
15
- if (!o) return;
16
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
17
- var n = Object.prototype.toString.call(o).slice(8, -1);
18
- if (n === "Object" && o.constructor) n = o.constructor.name;
19
- if (n === "Map" || n === "Set") return Array.from(o);
20
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
14
+ function _unsupportedIterableToArray(r, a) {
15
+ if (r) {
16
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
17
+ var t = {}.toString.call(r).slice(8, -1);
18
+ 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;
19
+ }
21
20
  }
22
- function _arrayLikeToArray(arr, len) {
23
- if (len == null || len > arr.length) len = arr.length;
24
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
25
- return arr2;
21
+ function _arrayLikeToArray(r, a) {
22
+ (null == a || a > r.length) && (a = r.length);
23
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
24
+ return n;
26
25
  }
27
26
  function _iterableToArrayLimit(r, l) {
28
27
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -51,8 +50,8 @@ function _iterableToArrayLimit(r, l) {
51
50
  return a;
52
51
  }
53
52
  }
54
- function _arrayWithHoles(arr) {
55
- if (Array.isArray(arr)) return arr;
53
+ function _arrayWithHoles(r) {
54
+ if (Array.isArray(r)) return r;
56
55
  }
57
56
  // ==================== 优化版 Hook ====================
58
57
  var _default = exports["default"] = function _default(config) {
@@ -13,19 +13,13 @@ function _typeof(o) {
13
13
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
14
14
  }, _typeof(o);
15
15
  }
16
- function _defineProperty(obj, key, value) {
17
- key = _toPropertyKey(key);
18
- if (key in obj) {
19
- Object.defineProperty(obj, key, {
20
- value: value,
21
- enumerable: true,
22
- configurable: true,
23
- writable: true
24
- });
25
- } else {
26
- obj[key] = value;
27
- }
28
- return obj;
16
+ function _defineProperty(e, r, t) {
17
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
18
+ value: t,
19
+ enumerable: !0,
20
+ configurable: !0,
21
+ writable: !0
22
+ }) : e[r] = t, e;
29
23
  }
30
24
  function _toPropertyKey(t) {
31
25
  var i = _toPrimitive(t, "string");
@@ -12,9 +12,9 @@ Object.defineProperty(exports, "isStyleSupport", {
12
12
  });
13
13
  var _canUseDom = _interopRequireDefault(require("rc-util/lib/Dom/canUseDom"));
14
14
  var _styleChecker = require("rc-util/lib/Dom/styleChecker");
15
- function _interopRequireDefault(obj) {
16
- return obj && obj.__esModule ? obj : {
17
- "default": obj
15
+ function _interopRequireDefault(e) {
16
+ return e && e.__esModule ? e : {
17
+ "default": e
18
18
  };
19
19
  }
20
20
  var canUseDocElement = exports.canUseDocElement = function canUseDocElement() {
@@ -7,9 +7,9 @@ exports["default"] = void 0;
7
7
  var _classnames = _interopRequireDefault(require("classnames"));
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  require("./index.less");
10
- function _interopRequireDefault(obj) {
11
- return obj && obj.__esModule ? obj : {
12
- "default": obj
10
+ function _interopRequireDefault(e) {
11
+ return e && e.__esModule ? e : {
12
+ "default": e
13
13
  };
14
14
  }
15
15
  var ProCardActions = function ProCardActions(props) {
@@ -23,9 +23,9 @@ Object.keys(_alert).forEach(function (key) {
23
23
  });
24
24
  });
25
25
  var _classnames = _interopRequireDefault(require("classnames"));
26
- function _interopRequireDefault(obj) {
27
- return obj && obj.__esModule ? obj : {
28
- "default": obj
26
+ function _interopRequireDefault(e) {
27
+ return e && e.__esModule ? e : {
28
+ "default": e
29
29
  };
30
30
  }
31
31
  function _getRequireWildcardCache(e) {
@@ -62,19 +62,13 @@ function _typeof(o) {
62
62
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
63
63
  }, _typeof(o);
64
64
  }
65
- function _defineProperty(obj, key, value) {
66
- key = _toPropertyKey(key);
67
- if (key in obj) {
68
- Object.defineProperty(obj, key, {
69
- value: value,
70
- enumerable: true,
71
- configurable: true,
72
- writable: true
73
- });
74
- } else {
75
- obj[key] = value;
76
- }
77
- return obj;
65
+ function _defineProperty(e, r, t) {
66
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
67
+ value: t,
68
+ enumerable: !0,
69
+ configurable: !0,
70
+ writable: !0
71
+ }) : e[r] = t, e;
78
72
  }
79
73
  function _toPropertyKey(t) {
80
74
  var i = _toPrimitive(t, "string");
@@ -34,9 +34,9 @@ var _AnchorLink = _interopRequireDefault(require("antd/lib/anchor/AnchorLink"));
34
34
  var _classnames = _interopRequireDefault(require("classnames"));
35
35
  var _icon = _interopRequireDefault(require("../icon"));
36
36
  var _ellipsis = _interopRequireDefault(require("../ellipsis"));
37
- function _interopRequireDefault(obj) {
38
- return obj && obj.__esModule ? obj : {
39
- "default": obj
37
+ function _interopRequireDefault(e) {
38
+ return e && e.__esModule ? e : {
39
+ "default": e
40
40
  };
41
41
  }
42
42
  function _getRequireWildcardCache(e) {
@@ -64,24 +64,23 @@ function _interopRequireWildcard(e, r) {
64
64
  }
65
65
  return n["default"] = e, t && t.set(e, n), n;
66
66
  }
67
- function _slicedToArray(arr, i) {
68
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
67
+ function _slicedToArray(r, e) {
68
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
69
69
  }
70
70
  function _nonIterableRest() {
71
71
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
72
72
  }
73
- function _unsupportedIterableToArray(o, minLen) {
74
- if (!o) return;
75
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
76
- var n = Object.prototype.toString.call(o).slice(8, -1);
77
- if (n === "Object" && o.constructor) n = o.constructor.name;
78
- if (n === "Map" || n === "Set") return Array.from(o);
79
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
73
+ function _unsupportedIterableToArray(r, a) {
74
+ if (r) {
75
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
76
+ var t = {}.toString.call(r).slice(8, -1);
77
+ 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;
78
+ }
80
79
  }
81
- function _arrayLikeToArray(arr, len) {
82
- if (len == null || len > arr.length) len = arr.length;
83
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
84
- return arr2;
80
+ function _arrayLikeToArray(r, a) {
81
+ (null == a || a > r.length) && (a = r.length);
82
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
83
+ return n;
85
84
  }
86
85
  function _iterableToArrayLimit(r, l) {
87
86
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -110,8 +109,8 @@ function _iterableToArrayLimit(r, l) {
110
109
  return a;
111
110
  }
112
111
  }
113
- function _arrayWithHoles(arr) {
114
- if (Array.isArray(arr)) return arr;
112
+ function _arrayWithHoles(r) {
113
+ if (Array.isArray(r)) return r;
115
114
  }
116
115
  var __rest = void 0 && (void 0).__rest || function (s, e) {
117
116
  var t = {};
@@ -58,36 +58,30 @@ function _interopRequireWildcard(e, r) {
58
58
  }
59
59
  return n["default"] = e, t && t.set(e, n), n;
60
60
  }
61
- function _interopRequireDefault(obj) {
62
- return obj && obj.__esModule ? obj : {
63
- "default": obj
61
+ function _interopRequireDefault(e) {
62
+ return e && e.__esModule ? e : {
63
+ "default": e
64
64
  };
65
65
  }
66
- function _toConsumableArray(arr) {
67
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
66
+ function _toConsumableArray(r) {
67
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
68
68
  }
69
69
  function _nonIterableSpread() {
70
70
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
71
71
  }
72
- function _iterableToArray(iter) {
73
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
72
+ function _iterableToArray(r) {
73
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
74
74
  }
75
- function _arrayWithoutHoles(arr) {
76
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
75
+ function _arrayWithoutHoles(r) {
76
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
77
77
  }
78
- function _defineProperty(obj, key, value) {
79
- key = _toPropertyKey(key);
80
- if (key in obj) {
81
- Object.defineProperty(obj, key, {
82
- value: value,
83
- enumerable: true,
84
- configurable: true,
85
- writable: true
86
- });
87
- } else {
88
- obj[key] = value;
89
- }
90
- return obj;
78
+ function _defineProperty(e, r, t) {
79
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
80
+ value: t,
81
+ enumerable: !0,
82
+ configurable: !0,
83
+ writable: !0
84
+ }) : e[r] = t, e;
91
85
  }
92
86
  function _toPropertyKey(t) {
93
87
  var i = _toPrimitive(t, "string");
@@ -103,24 +97,23 @@ function _toPrimitive(t, r) {
103
97
  }
104
98
  return ("string" === r ? String : Number)(t);
105
99
  }
106
- function _slicedToArray(arr, i) {
107
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
100
+ function _slicedToArray(r, e) {
101
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
108
102
  }
109
103
  function _nonIterableRest() {
110
104
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
111
105
  }
112
- function _unsupportedIterableToArray(o, minLen) {
113
- if (!o) return;
114
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
115
- var n = Object.prototype.toString.call(o).slice(8, -1);
116
- if (n === "Object" && o.constructor) n = o.constructor.name;
117
- if (n === "Map" || n === "Set") return Array.from(o);
118
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
106
+ function _unsupportedIterableToArray(r, a) {
107
+ if (r) {
108
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
109
+ var t = {}.toString.call(r).slice(8, -1);
110
+ 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;
111
+ }
119
112
  }
120
- function _arrayLikeToArray(arr, len) {
121
- if (len == null || len > arr.length) len = arr.length;
122
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
123
- return arr2;
113
+ function _arrayLikeToArray(r, a) {
114
+ (null == a || a > r.length) && (a = r.length);
115
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
116
+ return n;
124
117
  }
125
118
  function _iterableToArrayLimit(r, l) {
126
119
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -149,8 +142,8 @@ function _iterableToArrayLimit(r, l) {
149
142
  return a;
150
143
  }
151
144
  }
152
- function _arrayWithHoles(arr) {
153
- if (Array.isArray(arr)) return arr;
145
+ function _arrayWithHoles(r) {
146
+ if (Array.isArray(r)) return r;
154
147
  }
155
148
  var __rest = void 0 && (void 0).__rest || function (s, e) {
156
149
  var t = {};
@@ -31,9 +31,9 @@ var _classnames = _interopRequireDefault(require("classnames"));
31
31
  var _react = _interopRequireWildcard(require("react"));
32
32
  var _connect = require("../connect");
33
33
  var _previewText = require("../preview-text");
34
- function _interopRequireDefault(obj) {
35
- return obj && obj.__esModule ? obj : {
36
- "default": obj
34
+ function _interopRequireDefault(e) {
35
+ return e && e.__esModule ? e : {
36
+ "default": e
37
37
  };
38
38
  }
39
39
  function _getRequireWildcardCache(e) {
@@ -44,41 +44,40 @@ function _interopRequireWildcard(e, r) {
44
44
  }
45
45
  return n["default"] = e, t && t.set(e, n), n;
46
46
  }
47
- function _interopRequireDefault(obj) {
48
- return obj && obj.__esModule ? obj : {
49
- "default": obj
47
+ function _interopRequireDefault(e) {
48
+ return e && e.__esModule ? e : {
49
+ "default": e
50
50
  };
51
51
  }
52
- function _toConsumableArray(arr) {
53
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
52
+ function _toConsumableArray(r) {
53
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
54
54
  }
55
55
  function _nonIterableSpread() {
56
56
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
57
57
  }
58
- function _iterableToArray(iter) {
59
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
58
+ function _iterableToArray(r) {
59
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
60
60
  }
61
- function _arrayWithoutHoles(arr) {
62
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
61
+ function _arrayWithoutHoles(r) {
62
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
63
63
  }
64
- function _slicedToArray(arr, i) {
65
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
64
+ function _slicedToArray(r, e) {
65
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
66
66
  }
67
67
  function _nonIterableRest() {
68
68
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
69
69
  }
70
- function _unsupportedIterableToArray(o, minLen) {
71
- if (!o) return;
72
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
73
- var n = Object.prototype.toString.call(o).slice(8, -1);
74
- if (n === "Object" && o.constructor) n = o.constructor.name;
75
- if (n === "Map" || n === "Set") return Array.from(o);
76
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
70
+ function _unsupportedIterableToArray(r, a) {
71
+ if (r) {
72
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
73
+ var t = {}.toString.call(r).slice(8, -1);
74
+ 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;
75
+ }
77
76
  }
78
- function _arrayLikeToArray(arr, len) {
79
- if (len == null || len > arr.length) len = arr.length;
80
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
81
- return arr2;
77
+ function _arrayLikeToArray(r, a) {
78
+ (null == a || a > r.length) && (a = r.length);
79
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
80
+ return n;
82
81
  }
83
82
  function _iterableToArrayLimit(r, l) {
84
83
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -107,8 +106,8 @@ function _iterableToArrayLimit(r, l) {
107
106
  return a;
108
107
  }
109
108
  }
110
- function _arrayWithHoles(arr) {
111
- if (Array.isArray(arr)) return arr;
109
+ function _arrayWithHoles(r) {
110
+ if (Array.isArray(r)) return r;
112
111
  }
113
112
  var __rest = void 0 && (void 0).__rest || function (s, e) {
114
113
  var t = {};
@@ -45,24 +45,18 @@ function _interopRequireWildcard(e, r) {
45
45
  }
46
46
  return n["default"] = e, t && t.set(e, n), n;
47
47
  }
48
- function _interopRequireDefault(obj) {
49
- return obj && obj.__esModule ? obj : {
50
- "default": obj
48
+ function _interopRequireDefault(e) {
49
+ return e && e.__esModule ? e : {
50
+ "default": e
51
51
  };
52
52
  }
53
- function _defineProperty(obj, key, value) {
54
- key = _toPropertyKey(key);
55
- if (key in obj) {
56
- Object.defineProperty(obj, key, {
57
- value: value,
58
- enumerable: true,
59
- configurable: true,
60
- writable: true
61
- });
62
- } else {
63
- obj[key] = value;
64
- }
65
- return obj;
53
+ function _defineProperty(e, r, t) {
54
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
55
+ value: t,
56
+ enumerable: !0,
57
+ configurable: !0,
58
+ writable: !0
59
+ }) : e[r] = t, e;
66
60
  }
67
61
  function _toPropertyKey(t) {
68
62
  var i = _toPrimitive(t, "string");
@@ -78,24 +72,23 @@ function _toPrimitive(t, r) {
78
72
  }
79
73
  return ("string" === r ? String : Number)(t);
80
74
  }
81
- function _slicedToArray(arr, i) {
82
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
75
+ function _slicedToArray(r, e) {
76
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
83
77
  }
84
78
  function _nonIterableRest() {
85
79
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
86
80
  }
87
- function _unsupportedIterableToArray(o, minLen) {
88
- if (!o) return;
89
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
90
- var n = Object.prototype.toString.call(o).slice(8, -1);
91
- if (n === "Object" && o.constructor) n = o.constructor.name;
92
- if (n === "Map" || n === "Set") return Array.from(o);
93
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
81
+ function _unsupportedIterableToArray(r, a) {
82
+ if (r) {
83
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
84
+ var t = {}.toString.call(r).slice(8, -1);
85
+ 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;
86
+ }
94
87
  }
95
- function _arrayLikeToArray(arr, len) {
96
- if (len == null || len > arr.length) len = arr.length;
97
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
98
- return arr2;
88
+ function _arrayLikeToArray(r, a) {
89
+ (null == a || a > r.length) && (a = r.length);
90
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
91
+ return n;
99
92
  }
100
93
  function _iterableToArrayLimit(r, l) {
101
94
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -124,8 +117,8 @@ function _iterableToArrayLimit(r, l) {
124
117
  return a;
125
118
  }
126
119
  }
127
- function _arrayWithHoles(arr) {
128
- if (Array.isArray(arr)) return arr;
120
+ function _arrayWithHoles(r) {
121
+ if (Array.isArray(r)) return r;
129
122
  }
130
123
  var __rest = void 0 && (void 0).__rest || function (s, e) {
131
124
  var t = {};
@@ -8,9 +8,9 @@ require("react");
8
8
  var _checkbox = _interopRequireDefault(require("antd/lib/checkbox"));
9
9
  var _connect = require("../connect");
10
10
  var _previewText = require("../preview-text");
11
- function _interopRequireDefault(obj) {
12
- return obj && obj.__esModule ? obj : {
13
- "default": obj
11
+ function _interopRequireDefault(e) {
12
+ return e && e.__esModule ? e : {
13
+ "default": e
14
14
  };
15
15
  }
16
16
  var _default = exports["default"] = (0, _connect.connectReadonlyComponent)(_checkbox["default"].Group, _previewText.PreviewText.Select);
@@ -31,9 +31,9 @@ var _classnames = _interopRequireDefault(require("classnames"));
31
31
  var _react = _interopRequireWildcard(require("react"));
32
32
  var _connect = require("../connect");
33
33
  var _previewText = require("../preview-text");
34
- function _interopRequireDefault(obj) {
35
- return obj && obj.__esModule ? obj : {
36
- "default": obj
34
+ function _interopRequireDefault(e) {
35
+ return e && e.__esModule ? e : {
36
+ "default": e
37
37
  };
38
38
  }
39
39
  function _getRequireWildcardCache(e) {